Re: [xwiki-users] Multi-page Table of Contents
Hi Patrick, On 4 Feb 2014 at 01:24:04, Patrick Masson (mas...@opensource.org(mailto:mas...@opensource.org)) wrote: > I found this and would like to use it but it looks like it might not be > current: > http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Table+Of+Contents Indeed this snippet was written in XWiki Syntax 1.0, I’ve updated the doc. > One reference I found suggested it is based on xwiki1.0. I tweaked it a > bit but could not get the urls to replace the spaces in the page titles > with the "+" > > Any advice? > > Also, perhaps the best approach is to use the "tree" functionality in > the "Document Index?” TBH I don’t know. We don’t have an official solution we could recommend at this stage. After seeing your email, I’ve sent this email to discuss it but so far not many answers: http://markmail.org/message/ks5ddty2khufmuyh ATM you could filter extension names on “tree” on http://extensions.xwiki.org You’ll find several extensions (about 6 or so) but I don’t know which ones are working best. Thanks -Vincent > Thanks all, > Patrick ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include a page with a specific and/or default locale
Hi Matthias, Right now you cannot achieve what you want with the {{include}} macro. The solution right now is to script this: {{velocity}} $xwiki.getDocument('Included').getTranslatedContent('fr') {{/velocity}} In this example I’m getting the content of the Included page in language ‘fr’ and I’m displaying it in the current page. Please open a jira issue if you’d like to have this behavior in the {{include}} macro. Thanks -Vincent On 4 Feb 2014 at 15:57:27, Matthias Wegner (mic.mat.weg...@web.de(mailto:mic.mat.weg...@web.de)) wrote: > Hi Vincent, > > that's right. In my mind i thought to use a html form to select the prefered > locale which creates than the content in the selected language. With content > i mean x pages with the locale de and en. When i select "en" in the > creator-page (even if it is in de), the i want to get english content > because i selected it. > > When the 3rd x page only has the locale "de", then i want to get the > information if "en" exist (null is fine), so i can use the de-version > instead. > > Regards, > Matthias ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users