Re: [xwiki-users] The FAQ Tutorial Manual is somewhat out of date, not sure how to proceed

2017-01-17 Thread Vincent Massol

> On 18 Jan 2017, at 04:10, novnovice  wrote:
> 
> Your note with warning does the trick.
> 
> What I meant by my last posting here was if it happened to be true that one
> could do both tutorials and NOT have a namespace collision, it would be
> interesting to know why, just from a learning perspective. There would have
> been a namespace collision so the point is solved.
> 
> I had guessed that the issue would have come up before if there was a
> namespace collision (my guess was wrong). I posited that there might be a
> hidden namespace separation which would have allowed the two tutorials to
> co-exisit. For example what if apps built via the Apps within Minutes wizard
> had a special name space. They don't, it seems, but I wanted to know.
> 
> Anyways, it's clear now so thanks.

Ok thanks, I understand now :)

-Vincent

> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-of-date-not-sure-how-to-proceed-tp7602425p7602453.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



Re: [xwiki-users] Problem with update from 7.1.2 to 8.4.1

2017-01-17 Thread aleksey-s
Hi Vincent,

It is good idea but I do not know how to import xar file without admin ui. 

In instruction
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport I found
only:

 - Point your browser to
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences or click on the
"Wiki" menu and then on "Administer Wiki"

But my Admin Application not work (it showing me group members of
XWikiPreferences).

It is possible import xar without ui or may be exist different page for
import ? 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problem-with-update-from-7-1-2-to-8-4-1-tp7601982p7602456.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] CKEditor

2017-01-17 Thread Marius Dumitru Florea
On Tue, Jan 17, 2017 at 10:48 PM, shouldbe q931 
wrote:

> On Tue, Jan 17, 2017 at 10:58 AM, Marius Dumitru Florea
>  wrote:
> > On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 
> > wrote:
> >
> >> Hi All,
> >>
> >> On an infrequently maintained xwiki instance (.deb on Ubuntu), which
> >> was running 8.4.1, the default editor is WYSIWYG
> >>
> >>
> >
> >> In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown
> >> box contains Wysiwyg and Text, and does NOT contain CKEditor
> >>
> >
> > That's normal. Below "Default Editor" you should have "Default WYSIWYG
> > Editor" as in
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Administration+Application#HEditModeSettings
> > . That is the property that should list CKEditor as a possible value. But
> > CKEditor should be the default WYSIWYG editor in XWiki 8.4.1 even if you
> > leave this property unset.
>
> The edit mode looks like
>
>

> https://s23.postimg.org/mnapaie3f/editmode.png


This is how it should look like, since XWiki 8.2
http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWiki82RC1/WebHome/defaultWysiwygEditorConfig.png
. So your administration UI (i.e. wiki pages) has not been upgraded
property. You're missing at least the "Default WYSIWYG Editor" drop down
and the "Syntaxes" configuration section (on the left).


>
>
> >> If a page in the wiki is selected, the edit icon has the options in
> >> the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it,
> >> Objects and Class.
> >
> >
> > XWiki 8.4.1 is using CKEditor 1.9 which doesn't extend the edit menu, see
> > http://jira.xwiki.org/browse/CKEDITOR-96 .
> >
> >
> >> If CKEditor is selected, the edit window is not
> >> shown.
> >>
>
> If I try to edit a (blank) page with CK editor
>
> https://s30.postimg.org/9ftdmdri9/ckeditor.png
>
> > Did you upgrade to 8.4.1 from a previous version? It may be the case that
> > CKEditor was not upgraded properly. Or maybe you didn't clear the browser
> > cache.
>
> Yes it was updated, but I couldn't tell you what the previous version
> was, I think it started out as a 2.x.x release
>
> >> I tried an update to 8.4.4, and there is no change in Administration |
> >> Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now
> >> shows in the place where I would expect to see the edit window the
> >> below
> >>
> >> Content
> >> #ckeditor($parameters)
> >>
> >
> > It seems CKEditor was still not upgraded properly.
>
> As ckeditor shows as "Installed as a dependency", how might I go about
> upgrading it properly ?
>
> https://s27.postimg.org/6k9up5i8j/dependency.png


You cannot upgrade it in 8.4.1 ( http://jira.xwiki.org/browse/XE-1570 ) but
1.10 is the latest version ATM anyway. The problem you have, most probably,
is that it wasn't upgraded correctly to this 1.10 version, and since you're
also missing stuff from the administration it looks like the problem is
more general: the upgrade to XWiki 8.4.1 was not done correctly (at least
for the UI part). Did you use the Distribution Wizard to upgrade the wiki
pages? You probably had merge conflicts which were not resolved correctly
(either by Extension Manager or by the person that did the upgrade).


>
>
> Cheers
>
> Arne
>


Re: [xwiki-users] The FAQ Tutorial Manual is somewhat out of date, not sure how to proceed

2017-01-17 Thread novnovice
Your note with warning does the trick.

What I meant by my last posting here was if it happened to be true that one
could do both tutorials and NOT have a namespace collision, it would be
interesting to know why, just from a learning perspective. There would have
been a namespace collision so the point is solved.

I had guessed that the issue would have come up before if there was a
namespace collision (my guess was wrong). I posited that there might be a
hidden namespace separation which would have allowed the two tutorials to
co-exisit. For example what if apps built via the Apps within Minutes wizard
had a special name space. They don't, it seems, but I wanted to know.

Anyways, it's clear now so thanks.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-of-date-not-sure-how-to-proceed-tp7602425p7602453.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] CKEditor

2017-01-17 Thread shouldbe q931
On Tue, Jan 17, 2017 at 10:58 AM, Marius Dumitru Florea
 wrote:
> On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 
> wrote:
>
>> Hi All,
>>
>> On an infrequently maintained xwiki instance (.deb on Ubuntu), which
>> was running 8.4.1, the default editor is WYSIWYG
>>
>>
>
>> In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown
>> box contains Wysiwyg and Text, and does NOT contain CKEditor
>>
>
> That's normal. Below "Default Editor" you should have "Default WYSIWYG
> Editor" as in
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HEditModeSettings
> . That is the property that should list CKEditor as a possible value. But
> CKEditor should be the default WYSIWYG editor in XWiki 8.4.1 even if you
> leave this property unset.

The edit mode looks like

https://s23.postimg.org/mnapaie3f/editmode.png

>> If a page in the wiki is selected, the edit icon has the options in
>> the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it,
>> Objects and Class.
>
>
> XWiki 8.4.1 is using CKEditor 1.9 which doesn't extend the edit menu, see
> http://jira.xwiki.org/browse/CKEDITOR-96 .
>
>
>> If CKEditor is selected, the edit window is not
>> shown.
>>

If I try to edit a (blank) page with CK editor

https://s30.postimg.org/9ftdmdri9/ckeditor.png

> Did you upgrade to 8.4.1 from a previous version? It may be the case that
> CKEditor was not upgraded properly. Or maybe you didn't clear the browser
> cache.

Yes it was updated, but I couldn't tell you what the previous version
was, I think it started out as a 2.x.x release

>> I tried an update to 8.4.4, and there is no change in Administration |
>> Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now
>> shows in the place where I would expect to see the edit window the
>> below
>>
>> Content
>> #ckeditor($parameters)
>>
>
> It seems CKEditor was still not upgraded properly.

As ckeditor shows as "Installed as a dependency", how might I go about
upgrading it properly ?

https://s27.postimg.org/6k9up5i8j/dependency.png

Cheers

Arne


Re: [xwiki-users] CKEditor

2017-01-17 Thread shouldbe q931
On Tue, Jan 17, 2017 at 10:54 AM, Thomas Mortagne
 wrote:
> In standard XE, CKEditor is indicated as default in
> /etc/xwiki/xwiki.properties configuration file.
>
> Maybe you had conflict at some point in xwiki.properties and kept the
> previous version (and then apt kept it like this since there was no
> change in standard xwiki.properties file).
>
> Here is how it's supposed to look like at the end:
>
> #-# [Since 8.2RC1]
> #-# Indicate the default editor to use for a specific data type.
> #-# The editors are components so they are specified using their role
> hints.
> #-# Some data types can be edited in multiple ways, by different types
> of editors.
> #-# Thus you can also indicate the default editor to use from a
> specific category (editor type).
> #-#
> #-# The format is this:
> #-# edit.defaultEditor.=
> #-# edit.defaultEditor.#=
> #-#
> #-# The default bindings are:
> # edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent=text
> # edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#text=text
> # edit.defaultEditor.org.xwiki.rendering.block.XDOM=text
> # edit.defaultEditor.org.xwiki.rendering.block.XDOM#text=text
> edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#wysiwyg=ckeditor
> edit.defaultEditor.org.xwiki.rendering.block.XDOM#wysiwyg=ckeditor
>

The end of the file /etc/xwiki/xwiki.properties looks like

#-# [Since 8.2RC1]
#-# Indicate the default editor to use for a specific data type.
#-# The editors are components so they are specified using their role hints.
#-# Some data types can be edited in multiple ways, by different types
of editors.
#-# Thus you can also indicate the default editor to use from a
specific category (editor type).
#-#
#-# The format is this:
#-# edit.defaultEditor.=
#-# edit.defaultEditor.#=
#-#
#-# The default bindings are:
# edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent=text
# edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#text=text
# edit.defaultEditor.org.xwiki.rendering.block.XDOM=text
# edit.defaultEditor.org.xwiki.rendering.block.XDOM#text=text
edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#wysiwyg=ckeditor
edit.defaultEditor.org.xwiki.rendering.block.XDOM#wysiwyg=ckeditor


Cheers

Arne


Re: [xwiki-users] [myxwiki] new wiki request

2017-01-17 Thread Vincent Massol
Hi Luis,

If you’re logged with a user having admin permissions you should see the 
Distribution Wizard 
(http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard).

Since myxwiki.org was updated to XWiki 8.4.4 and your wiki was on 8.4.3 before 
the wizard kicks in to let you update the default pages to 8.4.4 versions.

If you’re not logged with an admin user you should continue to see the pages as 
before.

Thanks
-Vincent

> On 17 Jan 2017, at 18:21, Gomez, Luis (North & Central Florida) 
>  wrote:
> 
> Our wiki site no longer shows any content, we've made several additions and 
> raw content to our wiki page but we can no longer see it. Has our wiki page 
> been wiped or am I missing something else? 
> 
> 
> 
> Luis Gomez | Campaign Manager MWOY, Northern & Central Florida Chapter
> :: The Leukemia and Lymphoma Society | 341 N. Maitland Ave, Suite 100, 
> Maitland, FL  32751 
> :: Direct: 407-454-5845
> :: Mobile: 407-965-6575
> :: Fax: 407-896-8645
> :: luis.go...@lls.org 
> 
> 
> 
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Delhumeau
> Sent: Thursday, December 01, 2016 12:21 PM
> To: XWiki Users 
> Subject: Re: [xwiki-users] [myxwiki] new wiki request
> 
> Hello
> 
> I've created your wiki: http://mwoyorlando.myxwiki.org/
> 
> Envoy!
> 
> 2016-11-30 4:29 GMT+01:00 Gomez, Luis (North & Central Florida) <
> luis.go...@lls.org>:
> 
>> I am looking to use xwiki as a communication tool for my volunteer 
>> leadership team for a campaign for the Leukemia and Lymphoma Society. 
>> I am the LLS Man and Woman of the Year Campaign Manager.
>> 
>> 
>> Owner name: Luis Gomez
>> 
>> Wiki name: mwoyorlando
>> 
>> 
>> 
>> Thank you,
>> 
>> 
>> 
>> Luis Gomez
>> 
>> Man & Woman of the Year Campaign Manager, Orlando
>> 
>> Leukemia and Lymphoma Society
>> 
>> 407-965-6575
>> 
>> NOTICE: This message, including all attachments transmitted with it, 
>> is for the use of the addressee only. It may contain proprietary, 
>> confidential and/or legally privileged information. No confidentiality 
>> or privilege is waived or lost by any mistransmission. If you are not 
>> the intended recipient, you must not, directly or indirectly, use, 
>> disclose, distribute, print or copy any part of this message. If you 
>> believe you have received this message in error, please delete it and 
>> all copies of it from your system and notify the sender immediately by reply 
>> email. Thank you.
>> 
> 
> 
> 
> --
> Guillaume Delhumeau (guillaume.delhum...@xwiki.com) Research & Development 
> Engineer at XWiki SAS Committer on the XWiki.org project
> 



Re: [xwiki-users] [myxwiki] new wiki request

2017-01-17 Thread Gomez, Luis (North & Central Florida)
Our wiki site no longer shows any content, we've made several additions and raw 
content to our wiki page but we can no longer see it. Has our wiki page been 
wiped or am I missing something else? 



Luis Gomez | Campaign Manager MWOY, Northern & Central Florida Chapter
:: The Leukemia and Lymphoma Society | 341 N. Maitland Ave, Suite 100, 
Maitland, FL  32751 
:: Direct: 407-454-5845
:: Mobile: 407-965-6575
:: Fax: 407-896-8645
:: luis.go...@lls.org 



-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Delhumeau
Sent: Thursday, December 01, 2016 12:21 PM
To: XWiki Users 
Subject: Re: [xwiki-users] [myxwiki] new wiki request

Hello

I've created your wiki: http://mwoyorlando.myxwiki.org/

Envoy!

2016-11-30 4:29 GMT+01:00 Gomez, Luis (North & Central Florida) <
luis.go...@lls.org>:

> I am looking to use xwiki as a communication tool for my volunteer 
> leadership team for a campaign for the Leukemia and Lymphoma Society. 
> I am the LLS Man and Woman of the Year Campaign Manager.
>
>
> Owner name: Luis Gomez
>
> Wiki name: mwoyorlando
>
>
>
> Thank you,
>
>
>
> Luis Gomez
>
> Man & Woman of the Year Campaign Manager, Orlando
>
> Leukemia and Lymphoma Society
>
> 407-965-6575
>
> NOTICE: This message, including all attachments transmitted with it, 
> is for the use of the addressee only. It may contain proprietary, 
> confidential and/or legally privileged information. No confidentiality 
> or privilege is waived or lost by any mistransmission. If you are not 
> the intended recipient, you must not, directly or indirectly, use, 
> disclose, distribute, print or copy any part of this message. If you 
> believe you have received this message in error, please delete it and 
> all copies of it from your system and notify the sender immediately by reply 
> email. Thank you.
>



--
Guillaume Delhumeau (guillaume.delhum...@xwiki.com) Research & Development 
Engineer at XWiki SAS Committer on the XWiki.org project



Re: [xwiki-users] The FAQ Tutorial Manual is somewhat out of date, not sure how to proceed

2017-01-17 Thread Vincent Massol

> On 17 Jan 2017, at 17:52, novnovice  wrote:
> 
> Oh, and a note about *why* it's ok to have the two tutorials which create an
> application named FAQ would be useful, if it is the case.

Sorry I don’t understand the point. The reason for having 2 tutorials is 
explained here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial/

Thanks
-Vincent

> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-of-date-not-sure-how-to-proceed-tp7602425p7602444.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



Re: [xwiki-users] The FAQ Tutorial Manual is somewhat out of date, not sure how to proceed

2017-01-17 Thread Vincent Massol

> On 17 Jan 2017, at 17:49, novnovice  wrote:
> 
> Thanks for that. Now, since I already created a mini FAQ using the "Apps
> within Minutes" FAQ tutorial, do I have the risk of namespace collision if I
> follow the more advanced tutorial that you just edited? Or are they somehow
> isolated? Many new users will do the "Apps within Minutes" FAQ tutorial and
> next the tutorial that works with XWikiClasses...it might be worth adding a
> note that it's ok to have the two identially named artifacts in the wiki; or
> change the name of one of the tutorials if they can't co-exist as named.

Good point. If you follow exactly both tutorials instructions you’ll have 
collisions since they both create the FAQ app in the FAQ space.

Since I didn’t have the time to update the FAQ tutorials (would have needed to 
redo several screenshots, etc), I’ve added a warning at the top of both 
tutorials.

Please check it out and let me know if it’s ok and understandable.

Thanks
-Vincent

> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-of-date-not-sure-how-to-proceed-tp7602425p7602442.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



Re: [xwiki-users] The FAQ Tutorial Manual is somewhat out of date, not sure how to proceed

2017-01-17 Thread novnovice
Oh, and a note about *why* it's ok to have the two tutorials which create an
application named FAQ would be useful, if it is the case.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-of-date-not-sure-how-to-proceed-tp7602425p7602444.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] The FAQ Tutorial Manual is somewhat out of date, not sure how to proceed

2017-01-17 Thread novnovice
Thanks for that. Now, since I already created a mini FAQ using the "Apps
within Minutes" FAQ tutorial, do I have the risk of namespace collision if I
follow the more advanced tutorial that you just edited? Or are they somehow
isolated? Many new users will do the "Apps within Minutes" FAQ tutorial and
next the tutorial that works with XWikiClasses...it might be worth adding a
note that it's ok to have the two identially named artifacts in the wiki; or
change the name of one of the tutorials if they can't co-exist as named.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-of-date-not-sure-how-to-proceed-tp7602425p7602442.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Install Task Manager Application 2.4.1, velocity error

2017-01-17 Thread novnovice
Well, thank you Vincent. You've been instrumental in my very positive xwiki
experience. xwiki is amazing and the support from you folks has been very
good. I'll try another application and see if it has issues like task
manager.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Install-Task-Manager-Application-2-4-1-velocity-error-tp7602410p7602441.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


[xwiki-users] File Management Extension

2017-01-17 Thread Paul Pinkerton (ACLCO)
I am interested in creating an easy to navigate document library.  I was 
thinking of using the File Manager Extension (as this is what it's built for) - 
but the documentation is light on some specifics.

-I am wondering if I can copy this to a new space (currently 
xwiki/bin/view/FileManager) and run multiple file libraries on the site, each 
with their own permissions (space based)?  When I copy the FileManager space to 
a new space, I get the warning that I need to migrate to the new structure.  
Will this affect anything other than the specific space it is in?

-Also wondering if I can add a metadata field somehow?  One of the things I 
liked about using a file library in SP is the ability to list additional fields 
(ie. notes about why the file is important, contents, etc...) in the grid.  Is 
this easy to do?


Paul Pinkerton
ACLCO/ KnowledgeNow


Re: [xwiki-users] Problem with update from 7.1.2 to 8.4.1

2017-01-17 Thread Vincent Massol
Hi Aleksey,

> On 17 Jan 2017, at 13:24, aleksey-s  wrote:
> 
> Hi, 
> 
> Update: I tried to update my wiki from 7.1.2 to 7.1.4 - administrator panel
> is Ok. 
> 
> If I update from 7.1.2 to 7.4.5 - administrator panel not work (I see group
> members instead panel). All updates I do with Distribution wizard after
> installing .war.  
> If I create new/other wiki on my instalation  - administration panel Ok .
> But in my old wiki it not work.
> 
> If anyone know how to return administration panel
> (/xwiki/bin/admin/XWiki/XWikiPreferences ) in my wiki ?
> 
> I think that not one page/xwiki/bin/admin/XWiki/XWikiPreferences  relate
> with it (I see many changes in Distribution wizard, but don't know what of
> it broke my panel ). 

I guess the simplest would be for you to do a XAR import of the Administration 
application 
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application)
 in version 7.4.5:

http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.platform%3Axwiki-platform-administration-ui/versions/7.4.5/file?rid=maven-xwiki

This will overwrite all the pages from the admin app. It’s possible that you 
had made some changes to those pages that broke it or that a bad merge was done 
during the Distribution Wizard at some point.

Let us now how it goes.

Thanks
-Vincent

> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Problem-with-update-from-7-1-2-to-8-4-1-tp7601982p7602434.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



Re: [xwiki-users] Problem with update from 7.1.2 to 8.4.1

2017-01-17 Thread aleksey-s
Hi, 

Update: I tried to update my wiki from 7.1.2 to 7.1.4 - administrator panel
is Ok. 

If I update from 7.1.2 to 7.4.5 - administrator panel not work (I see group
members instead panel). All updates I do with Distribution wizard after
installing .war.  
If I create new/other wiki on my instalation  - administration panel Ok .
But in my old wiki it not work.

If anyone know how to return administration panel
(/xwiki/bin/admin/XWiki/XWikiPreferences ) in my wiki ?

 I think that not one page/xwiki/bin/admin/XWiki/XWikiPreferences  relate
with it (I see many changes in Distribution wizard, but don't know what of
it broke my panel ). 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problem-with-update-from-7-1-2-to-8-4-1-tp7601982p7602434.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] The FAQ Tutorial Manual is somewhat out of date, not sure how to proceed

2017-01-17 Thread Vincent Massol
Hi,

> On 17 Jan 2017, at 05:18, novnovice  wrote:
> 
> I am attempting to follow the guidance at 
> 
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManual
> 
> The idea of this page is to walk one through the creation of a new data
> type. However the page is out of date. For example on the
> xwiki/bin/view/XWiki/XWikiClasses page, things are not the same as the
> tutorial image in the "Create a new data type" section. The tutorial says
> one could fill out the space and class fields with "FAQ" but the 8.4.3 xwiki
> does not offer a space field. The most recent comment made in Nov 2016
> states

I’ve now fully updated the tutorial. Please check it out and let me know if you 
succeed in following it:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManual

Thanks
-Vincent

> This example no longer works correctly in 8.4. However, it will if...
> After you create the WebHome (FAQs) page.
> Delete the FAQClass object from WebHome 
> 
> For a new xwiki user this kind of stuff is confusing. I am hesitant to
> proceed because I don't know what the missing "space" field implies and am
> not sure if I'll get tripped up by the FAQClass issue. I already ran the
> "Apps within Minutes" FAQ tutorial, so I'm concerned that I'll have a
> namespace collision with this new FAQ application unless I know what the
> space issue implies.
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-of-date-not-sure-how-to-proceed-tp7602425.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



Re: [xwiki-users] Exclude "raw content" from solr search

2017-01-17 Thread Marius Dumitru Florea
On Mon, Jan 16, 2017 at 5:12 PM, Enste, Patrick 
wrote:

> Hey,
>
> I have googled for quite some time but wasn't able to find an answer to my
> question.
>
> Is it possible to exclude the "raw content" from the solr search? I don't
> want it to be indexed and I don't want it to be shown as result. At the
> moment every "{{html}}" (and so on) can be found via search.
>

Preventing XWiki from indexing the raw page content is possible but it's
not easy. You would have to overwrite some of the Java components that are
used to index the XWiki pages.

Preventing XWiki from matching the raw page content when performing a
search is easier, but it depends on where you do the search from. Each
place may have its own search configuration. By default there are two
standard places you can search from:

* Search suggest from the top right corner.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Search+Application#HSearchSuggest
In this case each search result is provided by a search suggest source that
you can configure in the wiki administration. Check the "Page content"
source for instance. Remove "doccontentraw" from "qf" (query fields).

* Main search page.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application#HSearchUIConfiguration
. The configuration is taken from a separate page. Check the "queryFields"
configuration option. Remove "doccontentraw^0.4".

Hope this helps,
Marius


>
> I am using XWiki 7.1.1.
>
> Best regards,
> Patrick Enste
>
>


Re: [xwiki-users] CKEditor

2017-01-17 Thread Marius Dumitru Florea
On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 
wrote:

> Hi All,
>
> On an infrequently maintained xwiki instance (.deb on Ubuntu), which
> was running 8.4.1, the default editor is WYSIWYG
>
>

> In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown
> box contains Wysiwyg and Text, and does NOT contain CKEditor
>

That's normal. Below "Default Editor" you should have "Default WYSIWYG
Editor" as in
http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HEditModeSettings
. That is the property that should list CKEditor as a possible value. But
CKEditor should be the default WYSIWYG editor in XWiki 8.4.1 even if you
leave this property unset.


>
> If a page in the wiki is selected, the edit icon has the options in
> the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it,
> Objects and Class.


XWiki 8.4.1 is using CKEditor 1.9 which doesn't extend the edit menu, see
http://jira.xwiki.org/browse/CKEDITOR-96 .


> If CKEditor is selected, the edit window is not
> shown.
>

Did you upgrade to 8.4.1 from a previous version? It may be the case that
CKEditor was not upgraded properly. Or maybe you didn't clear the browser
cache.


>
> I tried an update to 8.4.4, and there is no change in Administration |
> Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now
> shows in the place where I would expect to see the edit window the
> below
>
> Content
> #ckeditor($parameters)
>

It seems CKEditor was still not upgraded properly.


>
>
> I'm lost as to where to look next, and would welcome some guidance.
>
> Cheers
>
> Arne
>


[xwiki-users] Muliple xForms on One page

2017-01-17 Thread Gerritjan Koekkoek
Hi,


Is it possible to have multiple xForms on one page when the objects to be 
edited are not on the same page.


We have a object of class "child" and a object of Class "parent"; each object 
is stored on it's own page.


But users would like to be able to modify the object of class "header" while 
they are editing the object of class


In my headerClass sheet I have...

{{velocity}}

## You can modify this page to customize the presentation of your object.

## At first you should keep the default presentation and just save the document.

#if(!$headerDoc)

  #set($headerDoc = $xwiki.getDocument("Sandbox.testHeader"))

#end

#set($classHeader = $headerDoc.getObject('Sandbox.classHeader').xWikiClass)

#foreach($prop in $classHeader.properties)

  ; $prop.prettyName

  : $headerDoc.display($prop.getName())

#end

{{/velocity}}


In my childClass sheet I have:

{{velocity}}

#set($headerDoc = $xwiki.getDocument("Sandbox.testHeader") )

{{display reference="$headerDoc"/}}


## You can modify this page to customize the presentation of your object.

## At first you should keep the default presentation and just save the document.


#set($class = $doc.getObject('Sandbox.classChild').xWikiClass)

#foreach($prop in $class.properties)

  ; $prop.prettyName

  : $doc.display($prop.getName())

#end

{{/velocity}}


When I create or edit the page holding the childClass object I do get the 
impression I can Edit the header object, but when I save only the properties of 
the child object are saved?


Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website
Facebook
email





Re: [xwiki-users] CKEditor

2017-01-17 Thread Thomas Mortagne
In standard XE, CKEditor is indicated as default in
/etc/xwiki/xwiki.properties configuration file.

Maybe you had conflict at some point in xwiki.properties and kept the
previous version (and then apt kept it like this since there was no
change in standard xwiki.properties file).

Here is how it's supposed to look like at the end:

#-# [Since 8.2RC1]
#-# Indicate the default editor to use for a specific data type.
#-# The editors are components so they are specified using their role
hints.
#-# Some data types can be edited in multiple ways, by different types
of editors.
#-# Thus you can also indicate the default editor to use from a
specific category (editor type).
#-#
#-# The format is this:
#-# edit.defaultEditor.=
#-# edit.defaultEditor.#=
#-#
#-# The default bindings are:
# edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent=text
# edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#text=text
# edit.defaultEditor.org.xwiki.rendering.block.XDOM=text
# edit.defaultEditor.org.xwiki.rendering.block.XDOM#text=text
edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#wysiwyg=ckeditor
edit.defaultEditor.org.xwiki.rendering.block.XDOM#wysiwyg=ckeditor


On Mon, Jan 16, 2017 at 7:06 PM, shouldbe q931  wrote:
> Hi All,
>
> On an infrequently maintained xwiki instance (.deb on Ubuntu), which
> was running 8.4.1, the default editor is WYSIWYG
>
> In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown
> box contains Wysiwyg and Text, and does NOT contain CKEditor
>
> If a page in the wiki is selected, the edit icon has the options in
> the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it,
> Objects and Class. If CKEditor is selected, the edit window is not
> shown.
>
> I tried an update to 8.4.4, and there is no change in Administration |
> Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now
> shows in the place where I would expect to see the edit window the
> below
>
> Content
> #ckeditor($parameters)
>
>
> I'm lost as to where to look next, and would welcome some guidance.
>
> Cheers
>
> Arne



-- 
Thomas Mortagne


Re: [xwiki-users] [ANN] First version of the XWiki docker packaging

2017-01-17 Thread Vincent Massol
Hi Miroslav,

> On 16 Jan 2017, at 23:42, Miroslav Galajda  wrote:
> 
> Hi, all that's great to hear. The docker is getting more and more popular
> :-)
> 
> Recently, I have "dockerized" XWiki v8.4 hosted in Tomcat and backed by
> OracleXE for my testing purposes.

This is great, the more the merrier! :)

FTR there are currently 29 repos with XWiki images on docker hub 
(https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=xwiki&starCount=0).
 This makes it not easy for users to know why one to use. This is why I thought 
it would be important to have some “official” docker images from the xwiki open 
source project maintained by the xwiki devs.

I think the next step is to add images for postgresql and oracle since both are 
supported DBs. What I’m trying to figure out is how to share source files for 
the Dockerfiles. Using “-f” should work but it’s not supported by automated 
builds o dockerhub yet (https://github.com/docker/hub-feedback/issues/292). 
Help is most welcome! :)

Thanks
-Vincent

> I will definitely try your version, it
> seems more komplex and more configurable than mine :-)
> 
> Mirec
> 
> On 16 January 2017 at 22:36, Vincent Massol  wrote:
> 
>> Hi Craig,
>> 
>>> On 16 Jan 2017, at 21:51, Craig Wright  wrote:
>>> 
>>> Hi Vincent,
>>> 
>>> This is great, and if it had been out two weeks ago I would have used it
>> as the basis for my installation! ;D
>>> 
>>> I can’t promise to check it out in the near-term future but when I get a
>> chance to revisit the install method, I will check it out.
>> 
>> Cool
>> 
>>> When you release a new version, do you plan on pushing that out as a new
>> Docker image, or will you upgrade-in-place in the container? I assume the
>> former.
>> 
>> Yep, I’ll push new images.
>> 
>> Thanks
>> -Vincent
>> 
>>> Thanks,
>>> Craig
>>> 
>>> 
 On Jan 16, 2017, at 12:33 PM, Vincent Massol 
>> wrote:
 
 Note that my assumption so far has been to provide a production-ready
>> Dockerized XWiki. This is not meant to be a demo container to test out
>> XWiki.
 
 * This is for example why I’ve used Debian:jessy as the base imagine
>> and not alpine for example. Another option to slim it down would be to use
>> https://hub.docker.com/r/tklx/base/ but I’ve preferred to use what you’d
>> use in production.
 * This is also why I’m using docker-compose and have several separate
>> containers for the DB and for XWiki/Tomcat.
 
 Thanks
 -Vìncent
 
> On 16 Jan 2017, at 18:37, Vincent Massol  wrote:
> 
> Hi everyone,
> 
> I’ve started a first version of a XWiki docker packaging at
>> https://github.com/xwiki-contrib/docker-xwiki and I’ve created an
>> automated build on DockerHub at https://hub.docker.com/u/xwiki/. The goal
>> is to provide an official packaging done by the XWiki dev team.
> 
> Since I’m a recent user of Docker I’m sure I’ve made plenty of
>> mistakes and not following some best practices, even though I’ve tried my
>> best to do that ;)
> 
> So it would be great if:
> * Some users could try it out and let me know how it works
> * Users could tell me what they’d expect in term of setup from a
>> docker distribution.
> * Some Docker experts review my code and let me know what I should
>> improve!
> 
> After I receive some confirmation that it works well-enough, my goal
>> is to document it as an official way of installing xwiki on xwiki.org.
> 
> Feel free to create jiras for ideas and bugs at
>> http://jira.xwiki.org/browse/XDOCKER.
> 
> Thanks a lot!
> -Vincent
> 
> PS: Note that I’m sure some will want a different DB, such as
>> postgreSQL for example. That should be easy to do. Pull request accepted! :)
> 
 
>>> 
>> 
>>