Re: [xwiki-users] Help Request! Running the Attachment Porter

2017-03-30 Thread Douglas Landau

>I’ve never used this code but shouldn’t it execute in a wiki page?

Thanks Vincent.  I finally figured out from Craig Wright's comment ("FOR THOSE 
NEW TO XWIKI") that a)there is such a thing [as a code snippet that runs in a 
page] and that this is one of them.  Being completely unaware of the existence 
of snippets, I would never have guessed that this was one.

I followed step 1:
Step 1: Switch to Filesystem attachments.
I followed step 2:
 Step 2: Add a new directory to your backup routine.
I read step 3:
Step 3: Copy attachments from database to filesystem.
Now you are ready to copy the data over from your database to the filesystem. 
It is prudent to leave the attachments in the database since in most situations 
the attachment data is not bothersome just sitting in the database (The only 
risk of attachments left in the database is that they will bloat the size of 
the database files). As such, this script contains no facility to delete 
entries from the database.
If anything goes wrong in this function, it will fail with an error message and 
you should get the stack trace, keep it to confuse and humiliate the developer 
with. No harm should be done since this only loads from the database and only 
saves to the filesystem.

I read step 4:
Step 4: Make sure everything is working.
Check to make sure your attachments are still there, if an attachment is 
broken, ... 

I felt quite sure that how to run the thing should be in step 3; 2 is too soon, 
and 4 is too late.  But how?  Nowhere in the text does it actually say how to 
run the thing!!!   So I googled looking for other's comments on forums, etc.  I 
YUM installed Groovy and tried running it on the commandline.  I removed the 
leading and trailing lines ("[[grovy]]") which caused errors.  I got class not 
found errors.  I read step 3 again.  I started reading the details of CLASSPATH 
and /bin/build-classpath.  With reluctance and just a little resentment.   It 
was an extwemewy fwustwating expewience.

That said, I realize it the mailing list is for questions, not complaints, and 
so apologize to all for this complaint, and will take it and my other such 
observations to Jira and log them as bugs.

dkl

The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 
information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 
hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 
message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.


Re: [xwiki-users] AWM entries are terminal pages "no" option doesn't work

2017-03-30 Thread Keith H

> It works fine if you use the + menu and select the application template. It
> doesn't work indeed for the "Add new entry" link. You should report an
> issue.
>
> Thanks,
> Marius
>

Added comment to:

https://jira.xwiki.org/browse/XWIKI-13642

Keith


Re: [xwiki-users] Moving the Blog doesnt work

2017-03-30 Thread Keith H



On 24 Mar 2017, at 22:13, Keith H wrote:


Dear All,

I have created one instance of xwiki to serve several domains.

www.firstdomain.com  - the top level domain
www.seconddomain.com
dev.firstdomain.com

I wanted the blog to be in the second domain, and so I moved it and it 
broke.


Why can’t each domain have a blog?

Keith


I found an “install on farm” option which adds a blog to each wiki 
instance!


thanks

Keith


Re: [xwiki-users] [ANN] XWiki 9.2 released

2017-03-30 Thread Keith H

Hello,

I am upgrading from 9.1.2 to 9.2

I received the following error when upgrading

Dependency [org.xwiki.contrib:application-ckeditor-webjar-1.13] is 
incompatible with installed root extension 
[org.xwiki.contrib:application-ckeditor-webjar-1.12]


not sure what to do, thanks

Keith


So, I need to go to the root wiki first!

I still got the following errors but now things seem ok

Failed to unload installed extension 
[org.webjars.npm:bootstrap-3-typeahead-4.0.2]

Failed to unload installed extension [org.webjars:bootstrap-tour-0.11.0]
Failed to unload installed extension 
[org.xwiki.contrib:application-ckeditor-webjar-1.13]
Failed to unload installed extension 
[org.xwiki.contrib:application-ckeditor-plugins-1.13]


Keith


Re: [xwiki-users] [ANN] XWiki 9.2 released

2017-03-30 Thread Keith H

On 28 Mar 2017, at 11:49, Guillaume Delhumeau wrote:

The XWiki development team is proud to announce the availability of 
XWiki

9.2.

This release introduces the Notification menu to follow wiki activity 
more
easily. The Administration has been re-organized with a collapsible 
menu.
The Menu Application becomes responsive with burger menus. For the 
advanced
users, the CKEditor integration adds support for dedicated Insert 
Macro

tool bar buttons and the Extension Manager adds support for conflict
resolution configuration when installing an extension. As usual, the
release also brings many bug fixes and other small improvements.

You can download it here: 
http://www.xwiki.org/xwiki/bin/view/Main/Download


Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/9.2


Hello,

I am upgrading from 9.1.2 to 9.2

I received the following error when upgrading

Dependency [org.xwiki.contrib:application-ckeditor-webjar-1.13] is 
incompatible with installed root extension 
[org.xwiki.contrib:application-ckeditor-webjar-1.12]


not sure what to do, thanks

Keith


Re: [xwiki-users] AWM entries are terminal pages "no" option doesn't work

2017-03-30 Thread Marius Dumitru Florea
On Thu, Mar 30, 2017 at 9:20 PM, Keith H  wrote:

> If you have XWiki 8.4+ then you can configure whether the entry pages are
>> terminal or not from the third step
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Wit
>> hin+Minutes+Application#HDescription
>> .
>>
>> Hope this helps,
>> Marius
>>
>>
>

> I am using 9.1.2 and that is the option which I am reporting doesn’t work.
>

It works fine if you use the + menu and select the application template. It
doesn't work indeed for the "Add new entry" link. You should report an
issue.

Thanks,
Marius


>
> Best regards
>
> Keith
>


Re: [xwiki-users] AWM entries are terminal pages "no" option doesn't work

2017-03-30 Thread Keith H
If you have XWiki 8.4+ then you can configure whether the entry pages 
are

terminal or not from the third step
http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Application#HDescription
.

Hope this helps,
Marius



I am using 9.1.2 and that is the option which I am reporting doesn’t 
work.


Best regards

Keith


Re: [xwiki-users] Export a section of page instead of whole page

2017-03-30 Thread Vishal
Thank you. But creating other page to just export a part of page seems
inefficient.
I have two ideas but don't know how can I do that..
1) In export page option dialog, giving choice to select or deselect the
headings themselves. Just like what currently cover, comments, etc have.
2) Writing a macro to export the section. It won't be universally used for
any section. But at least we could add the macro to some specific section to
display a download/export menu. 

Any help is much appreciated..



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Export-a-section-of-page-instead-of-whole-page-tp7603284p7603297.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Xwiki multilanguage options

2017-03-30 Thread Vincent Massol
Hi,

> On 30 Mar 2017, at 12:16, Sr Nieve  wrote:
> 
> Hi Thomas Mortagne :)
> The main problem is people that uses it are health professional and should
> give any better clue to change it. Is there any way by the interface to
> implement those changes?

This is the way it works as a user:

When you go to a page you’ll see it in the language of your browser. You can 
use the Drawer menu (top right) to force another language.

When you do so the URL will contain the language query strong.

So if you need to share that page with someone for that language all you need 
is to copy/paste the URL.

Is your question only about creating content with links pointing to another 
page for a given language?

And if so, do you need this feature in WYSIWYG? The WYSIWYG editor will offer 
you the possibility to add query string information but it doesn’t know about 
languages explicitly so in the Link dialog box there’s no control to choose a 
language ATM.

Thanks
-Vincent

> 2017-03-30 11:55 GMT+02:00 Thomas Mortagne :
> 
>> To access a page is a specific language you need to add "?language=es"
>> to the URL.
>> 
>> in XWiki syntax it gives something like
>> 
>>[[MyPage||queryString="language=es"]]
>> 
>> On Thu, Mar 30, 2017 at 11:39 AM, Sr Nieve  wrote:
>>> Hi everyone!:
>>> 
>>> I need help with my xwiki implementation. I try to include a
>> multilanguage
>>> options, CA, ES, EN. But I can´t find the way to reference a wikicontent
>> to
>>> a languate.
>>> 
>>> Some detalils below:
>>> 
>>> Xwiki version: 9.2.
>>> 
>>> I followed
>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#
>> HLanguagesettings
>>> thread but the system continuous with the same problem. Onlye retrieve
>> one
>>> language (default).
>>> 
>>> I really apreciate any comments on how to revolve it asap.
>>> 
>>> King regards.
>> 
>> 
>> 
>> --
>> Thomas Mortagne
>> 



Re: [xwiki-users] Xwiki multilanguage options

2017-03-30 Thread Thomas Mortagne
I don't think there is any way in standard WYSIWYG to explicitly
indicate which language of a document you want to target in your link
no (except indicated a custom query string).

On Thu, Mar 30, 2017 at 12:16 PM, Sr Nieve  wrote:
> Hi Thomas Mortagne :)
> The main problem is people that uses it are health professional and should
> give any better clue to change it. Is there any way by the interface to
> implement those changes?
>
> 2017-03-30 11:55 GMT+02:00 Thomas Mortagne :
>
>> To access a page is a specific language you need to add "?language=es"
>> to the URL.
>>
>> in XWiki syntax it gives something like
>>
>> [[MyPage||queryString="language=es"]]
>>
>> On Thu, Mar 30, 2017 at 11:39 AM, Sr Nieve  wrote:
>> > Hi everyone!:
>> >
>> > I need help with my xwiki implementation. I try to include a
>> multilanguage
>> > options, CA, ES, EN. But I can´t find the way to reference a wikicontent
>> to
>> > a languate.
>> >
>> > Some detalils below:
>> >
>> > Xwiki version: 9.2.
>> >
>> > I followed
>> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#
>> HLanguagesettings
>> > thread but the system continuous with the same problem. Onlye retrieve
>> one
>> > language (default).
>> >
>> > I really apreciate any comments on how to revolve it asap.
>> >
>> > King regards.
>>
>>
>>
>> --
>> Thomas Mortagne
>>



-- 
Thomas Mortagne


Re: [xwiki-users] Xwiki multilanguage options

2017-03-30 Thread Sr Nieve
Hi Thomas Mortagne :)
The main problem is people that uses it are health professional and should
give any better clue to change it. Is there any way by the interface to
implement those changes?

2017-03-30 11:55 GMT+02:00 Thomas Mortagne :

> To access a page is a specific language you need to add "?language=es"
> to the URL.
>
> in XWiki syntax it gives something like
>
> [[MyPage||queryString="language=es"]]
>
> On Thu, Mar 30, 2017 at 11:39 AM, Sr Nieve  wrote:
> > Hi everyone!:
> >
> > I need help with my xwiki implementation. I try to include a
> multilanguage
> > options, CA, ES, EN. But I can´t find the way to reference a wikicontent
> to
> > a languate.
> >
> > Some detalils below:
> >
> > Xwiki version: 9.2.
> >
> > I followed
> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#
> HLanguagesettings
> > thread but the system continuous with the same problem. Onlye retrieve
> one
> > language (default).
> >
> > I really apreciate any comments on how to revolve it asap.
> >
> > King regards.
>
>
>
> --
> Thomas Mortagne
>


[xwiki-users] How to create default terminal page ?

2017-03-30 Thread Pascal BASTIEN
Hello,

On xwiki 8.4.4, I know I can create terminal pages by defaulty with template 
providers but I want to do the same on "default blank page".
How can I do that bc I want that standard users will only be able to create 
terminal page by default (actually it is Nested)

I already modified default content by editing templates/editwysiwyg.vm maybe I 
can copy/paste an existant page but it seem a little bit ugly isn't it?

Thxs

Pascal BASTIEN


Re: [xwiki-users] Xwiki multilanguage options

2017-03-30 Thread Thomas Mortagne
To access a page is a specific language you need to add "?language=es"
to the URL.

in XWiki syntax it gives something like

[[MyPage||queryString="language=es"]]

On Thu, Mar 30, 2017 at 11:39 AM, Sr Nieve  wrote:
> Hi everyone!:
>
> I need help with my xwiki implementation. I try to include a multilanguage
> options, CA, ES, EN. But I can´t find the way to reference a wikicontent to
> a languate.
>
> Some detalils below:
>
> Xwiki version: 9.2.
>
> I followed
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HLanguagesettings
> thread but the system continuous with the same problem. Onlye retrieve one
> language (default).
>
> I really apreciate any comments on how to revolve it asap.
>
> King regards.



-- 
Thomas Mortagne


[xwiki-users] Xwiki multilanguage options

2017-03-30 Thread Sr Nieve
Hi everyone!:

I need help with my xwiki implementation. I try to include a multilanguage
options, CA, ES, EN. But I can´t find the way to reference a wikicontent to
a languate.

Some detalils below:

Xwiki version: 9.2.

I followed
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HLanguagesettings
thread but the system continuous with the same problem. Onlye retrieve one
language (default).

I really apreciate any comments on how to revolve it asap.

King regards.


Re: [xwiki-users] AWM entries are terminal pages "no" option doesn't work

2017-03-30 Thread Marius Dumitru Florea
If you have XWiki 8.4+ then you can configure whether the entry pages are
terminal or not from the third step
http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Application#HDescription
.

Hope this helps,
Marius

On Tue, Mar 14, 2017 at 3:55 AM, Keith H  wrote:

> Hello,
>
> Can anyone explain to me how to add pages below an entry.
>
> In my film database I would like to have numerous pages for each film.
>
> thanks
>
> K.
>


Re: [xwiki-users] Export a section of page instead of whole page

2017-03-30 Thread Thomas Mortagne
You have a "section" parameter in display macro (see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Display%20Macro).
The limitation (or the good things depending on what you want exactly)
is that it includes the heading itself too.

So to use that, what you could do is create another page in which you
put {{display reference="Space.MyBigPage" section="HMyheading"/}} and
export that page.

On Thu, Mar 30, 2017 at 9:09 AM, Vincent Massol  wrote:
> Hi,
>
>> On 30 Mar 2017, at 06:49, Vishal  wrote:
>>
>> Consider a page with 4 headings. I can export a whole page as pdf. But how
>> can I export only a section of 1 heading as pdf instead of whole page with 4
>> headings..
>> Example:
>>
>> Heading 1
>> (para 1)
>>
>> Heading 2
>> (para 2)
>>
>> Heading 3
>> (para 3)
>>
>> Heading 4
>> (para 4)
>>
>> Suppose I have to export only Heading 3 with (para 3). What are the ways to
>> do this?
>
> You can’t do this easily. What you could do is have several pages and 
> {{include}} them in your top level page so that you can export the page you 
> wish.
>
> An alternative would be to do some coding with scripting but I haven’t done 
> it and can’t help. The idea would be to create a temporary page with 
> scripting where you’d use the XWiki XDOM API to extract content you wish to 
> extract and save it in that temporary page before starting the export on that 
> page.
>
> Thanks
> -Vincent
>
>> --
>> View this message in context: 
>> http://xwiki.475771.n2.nabble.com/Export-a-section-of-page-instead-of-whole-page-tp7603284.html
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>



-- 
Thomas Mortagne


Re: [xwiki-users] Export a section of page instead of whole page

2017-03-30 Thread Vincent Massol
Hi,

> On 30 Mar 2017, at 06:49, Vishal  wrote:
> 
> Consider a page with 4 headings. I can export a whole page as pdf. But how
> can I export only a section of 1 heading as pdf instead of whole page with 4
> headings..
> Example:
> 
> Heading 1
> (para 1)
> 
> Heading 2
> (para 2)
> 
> Heading 3
> (para 3)
> 
> Heading 4
> (para 4)
> 
> Suppose I have to export only Heading 3 with (para 3). What are the ways to
> do this?

You can’t do this easily. What you could do is have several pages and 
{{include}} them in your top level page so that you can export the page you 
wish.

An alternative would be to do some coding with scripting but I haven’t done it 
and can’t help. The idea would be to create a temporary page with scripting 
where you’d use the XWiki XDOM API to extract content you wish to extract and 
save it in that temporary page before starting the export on that page.

Thanks
-Vincent

> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Export-a-section-of-page-instead-of-whole-page-tp7603284.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.