[xwiki-users] Render references in a specific TextArea property of a given class

2016-09-02 Thread Fernando Xavier
Hello guys, 

I would like to know what would you recommend me to use in order to generate 
references (like citations in a scientific paper) in an object of a given 
class. My class has a couple of textAreas in which I would like to allow 
end-user to cite papers/books/etc. Then in another textArea I would like to 
generate a list of those cited references.
 I have tried some extensions like Citation, Annotation and Footnotes, but 
found some drawbacks for each one of them.
 
1. Citation seems a good choice but forces end-user to add a citation object 
first, before being able to cite it.
 
2. Annotation looks promising if we consider that for the end-user it is easy 
to create an annotation and fill in the reference data, but it allows multiple 
annotations at the same place (for example, I can add multiple annotations at 
the same word) and the annotations tab is now merged with the comments tab so 
it won't really look like a paper references section.
 
3. Footnotes seems really interesting because we can use footnote macro with 
the reference and it automatically generates a reference-like content at the 
bottom at the textArea. The main problem is that it generates a footnote for 
each textArea which contains the footnote macro, even if I place putFootnotes 
in another textArea at the end of the class (and using macros is not exactly 
user-friendly for end-users).
 
So, the main question is: is there any other extension that I'm missing which 
might solve my problem straightforward or should I customize one of those? 
E.G.: 
Class properties

   - Title (title: String)
   - Section1 (first: TextArea) <- Users might add citations here (as friendly 
as possible)   

   - Section1 (second: TextArea) <- Users might add citations here
   - Section1 (third: TextArea) <- Users might add citations here
   - References (references: TextArea) <-- References should be rendered here.


Regards,Fernando
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Public Wiki Access: XWiki.XWikiGuest

2016-09-02 Thread Vincent Massol
I’ve fixed the doc which was plain wrong :(

And added a screenshot, see:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights#HOpenWiki

Thanks
-Vincent

PS: I talked to Patrick on IRC

> On 02 Sep 2016, at 19:39, Thomas Mortagne  wrote:
> 
> This is actually a virtual user, you don't need to create it. In the
> rights administration UI you will see "Unregistered Users" if you
> select "Users".
> 
> On Fri, Sep 2, 2016 at 7:26 PM, Patrick Masson  wrote:
>> Looking to change access rights to public wiki: non-reg users can view, but
>> not edit. Reviewing this page:
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights I am told
>> to add a new user "XWiki.XWikiGuest" where do I add that?
>> 
>> Thanks,
>> Patrick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Public Wiki Access: XWiki.XWikiGuest

2016-09-02 Thread Patrick Masson
Thanks Thomas, that did it! Thanks

  ||  |   | || |  ||  ||  | || |  |||  |  |||

Patrick Masson
General Manager & Director, Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Office: (415) 857-5398
Mobile: (970) 4MASSON
Email: mas...@opensource.org
Website: www.opensource.org

On Fri, Sep 2, 2016 at 1:39 PM, Thomas Mortagne 
wrote:

> This is actually a virtual user, you don't need to create it. In the
> rights administration UI you will see "Unregistered Users" if you
> select "Users".
>
> On Fri, Sep 2, 2016 at 7:26 PM, Patrick Masson 
> wrote:
> > Looking to change access rights to public wiki: non-reg users can view,
> but
> > not edit. Reviewing this page:
> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights I am
> told
> > to add a new user "XWiki.XWikiGuest" where do I add that?
> >
> > Thanks,
> > Patrick
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Public Wiki Access: XWiki.XWikiGuest

2016-09-02 Thread Thomas Mortagne
This is actually a virtual user, you don't need to create it. In the
rights administration UI you will see "Unregistered Users" if you
select "Users".

On Fri, Sep 2, 2016 at 7:26 PM, Patrick Masson  wrote:
> Looking to change access rights to public wiki: non-reg users can view, but
> not edit. Reviewing this page:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights I am told
> to add a new user "XWiki.XWikiGuest" where do I add that?
>
> Thanks,
> Patrick
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Public Wiki Access: XWiki.XWikiGuest

2016-09-02 Thread Patrick Masson
Looking to change access rights to public wiki: non-reg users can view, but
not edit. Reviewing this page:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights I am told
to add a new user "XWiki.XWikiGuest" where do I add that?

Thanks,
Patrick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using xwiki in multilingual mode problem

2016-09-02 Thread Vincent Massol

> On 02 Sep 2016, at 12:04, Eugen Colesnicov  wrote:
> 
> vmassol wrote
>> No it’s the way it’s always been working. 
>> We know it’s not optimal but that’s how it is now. The UI uses the
>> language of the translation page.
>> See http://jira.xwiki.org/browse/XWIKI-9987
> 
> Yes, you are right - this is my situation! Have any plans approx. when will
> be solved this problem?

No plan. Nobody seems rally interesting in contributing. This issue has been 
there since December 2009: http://jira.xwiki.org/browse/XWIKI-6402

Are you interested in contributing a patch or in sponsoring the development of 
this feature? (There are some companies accepting sponsoring of xwiki features, 
see http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport for a 
list of companies if you’re interested). That would certainly be a way of 
speeding up the resolution of this issue :)

Thanks
-Vincent

> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Using-xwiki-in-multilingual-mode-problem-tp7601016p7601025.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using xwiki in multilingual mode problem

2016-09-02 Thread Eugen Colesnicov
vmassol wrote
> No it’s the way it’s always been working. 
> We know it’s not optimal but that’s how it is now. The UI uses the
> language of the translation page.
> See http://jira.xwiki.org/browse/XWIKI-9987

Yes, you are right - this is my situation! Have any plans approx. when will
be solved this problem?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Using-xwiki-in-multilingual-mode-problem-tp7601016p7601025.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using xwiki in multilingual mode problem

2016-09-02 Thread Vincent Massol

> On 02 Sep 2016, at 11:16, Eugen Colesnicov  wrote:
> 
> vmassol wrote
>> The menu lists all translations for the current page. Maybe the page
>> you’re on doesn’t have translations?
>> Try editing the page and provide a translation.
> 
> Current page - configuration page. As I said - no any changes - also didn't
> changed elements of XWiki interface (menu, etc). Looks like a bug.

No it’s the way it’s always been working. 

We know it’s not optimal but that’s how it is now. The UI uses the language of 
the translation page.

See http://jira.xwiki.org/browse/XWIKI-9987

Thanks
-Vincent

> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Using-xwiki-in-multilingual-mode-problem-tp7601016p7601023.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using xwiki in multilingual mode problem

2016-09-02 Thread Eugen Colesnicov
vmassol wrote
> The menu lists all translations for the current page. Maybe the page
> you’re on doesn’t have translations?
> Try editing the page and provide a translation.

Current page - configuration page. As I said - no any changes - also didn't
changed elements of XWiki interface (menu, etc). Looks like a bug.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Using-xwiki-in-multilingual-mode-problem-tp7601016p7601023.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using xwiki in multilingual mode problem

2016-09-02 Thread Vincent Massol
Hi Eugen,

> On 02 Sep 2016, at 10:29, Eugen Colesnicov  wrote:
> 
> Hello,
> 
> I have a problem using XWiki in multilingual mode. Fresh XWiki (8.2.1). In
> Administration, Localization, I configured as described:
> MULTILINGUAL=Yes
> SUPPORTED LANGUAGES=fr,en
> DEFAULT LANGUAGE=fr
> And I saved.
> But no any visual changes ... In menu (right-upper corner) appeared submenu
> Languages but only English presents in this submenu, no French.
> If I put MULTILINGUAL=No and changed DEFAULT LANGUAGE=fr - screen language
> immediately changed after I pressed Save, but I cannot change language in
> menu (right-upper corner).
> I made all as described at  Internationalization
>   

The menu lists all translations for the current page. Maybe the page you’re on 
doesn’t have translations?

Try editing the page and provide a translation.

Thanks
-Vincent

> Whats the problem?
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Using-xwiki-in-multilingual-mode-problem-tp7601016.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Using xwiki in multilingual mode problem

2016-09-02 Thread Eugen Colesnicov
Hello,

I have a problem using XWiki in multilingual mode. Fresh XWiki (8.2.1). In
Administration, Localization, I configured as described:
MULTILINGUAL=Yes
SUPPORTED LANGUAGES=fr,en
DEFAULT LANGUAGE=fr
And I saved.
But no any visual changes ... In menu (right-upper corner) appeared submenu
Languages but only English presents in this submenu, no French.
If I put MULTILINGUAL=No and changed DEFAULT LANGUAGE=fr - screen language
immediately changed after I pressed Save, but I cannot change language in
menu (right-upper corner).
I made all as described at  Internationalization
  

Whats the problem?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Using-xwiki-in-multilingual-mode-problem-tp7601016.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Configuring CKEditor Plugins

2016-09-02 Thread Marius Dumitru Florea
On Thu, Sep 1, 2016 at 7:38 PM, Dibyendu Das  wrote:

> Thanks the replies. I am able to use the plugins in GWT, however one thing
> I noticed is that no matter what font and fontsize I choose, it forces me
> to write in a standard font and size. Is it because of the format plugin?
>

It works fine for me on XWiki 8.3M1 (using the GWT editor). Can you check
the page source (wiki syntax) to see if the font information (family and
size) is saved? You should see something like this:

one (% style="font-family: Times New Roman; font-size: 36px;" %)two(%%)
three

If you get it then it's a display issue (e.g. you have a custom skin or
some custom styles that take precedence over the inline font styles, for
instance by using the "!important" CSS keyword). If you don't get it then
it means the font styles are not saved, which could be a browser issue.
What browser are you using?

Hope this helps,
Marius


>
> On Thu, Sep 1, 2016 at 5:42 AM, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
>
> > On Thu, Sep 1, 2016 at 10:34 AM, Vincent Massol 
> > wrote:
> >
> > > Hi,
> > >
> > > > On 31 Aug 2016, at 17:32, Dibyendu Das 
> wrote:
> > > >
> > > > Hi,
> > > >
> > > > How do I add the font color option to the WYSIWYG editor (CKEditor)?
> > >
> > > I don’t know; I’ll let Marius answer this one.
> > >
> > > @Marius: Do we have documentation for the CKEditor WYSIWYG for
> > configuring
> > > it or extending it? (I’m seeing several questions on the lists on these
> > > topics and it would be good to have something as we had for the GWT
> one).
> > >
> >
> > Yes,
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/
> CKEditor+Integration
> >
> >
> > >
> > > > I
> > > > included the plugin color in Wiki Administration -> Applications ->
> > > WYSIWYG
> > > > Editor and added color to toolbar, but it doesn't show up. Similarly
> I
> > > > added the plugins font and justify, and added them to the toolbar,
> but
> > > they
> > > > don't show up either.
> > >
> > > I think the WYSIWYG editor entry in the Admin UI is for the old WYSIWYG
> > > (the GWT one) and thus doesn’t affect the CKEditor one.
> > >
> > > What we discussed doing is to make this admin section support both
> > WYSIWYG
> > > editor in the near future.
> > >
> > > @Marius: do we have a jira issue for this? If not, could you create
> one?
> > >
> >
> > Yes, http://jira.xwiki.org/browse/XWIKI-13654
> >
> >
> > >
> > > ATM we still don’t have an Admin UI for CKEditor, see
> > > http://jira.xwiki.org/browse/CKEDITOR-32
> > >
> > > @Marius: any idea when this is planned (AFAIR we had this planned for
> the
> > > previous releases but it skipped). I know that the focus for this
> release
> > > is Nested Pages for you. I’m wondering when we’ll be able to fit this
> > one.
> > > We can brainstorm offline about it.
> > >
> >
> > It's not on the roadmap but it is on my TODO list. If we start simple
> with
> > just a plain text area where you can edit the JSON configuration for the
> > editor then I should be able to include it in 8.3. This is also the most
> > flexible solution as there are a lot of configuration options available.
> > Otherwise, if we want a fancy UI then it requires more work and I'm not
> > sure it will fit in 8.3
> >
> > Thanks,
> > Marius
> >
> >
> > >
> > > Thanks
> > > -Vincent
> > >
> > > > Thanks
> > >
> > > ___
> > > users mailing list
> > > users@xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users