Re: [xwiki-users] Extension Release notes 1.3.1 : releasenotechanges macro
Hello Vincent, Here is a quick update to inform you that I was able to make the RN extension work the way I wished. What I did : - modified the ReleaseNotes.Code.ReleaseNotesChangesMacro : {{changes displayer="simple" displayEditLink="true" products="$product" versions="$versionsParameter" audience="user" containsScreenshots="true"/}} instead of -> {{changes displayer="simple" displayEditLink="true" products="XWiki" versions="$versionsParameter" audience="user" containsScreenshots="true"/}} and I also translated everything I needed inside the macro. Now I can manage different products within the app and everything works fine. Maybe I was doing a few things wrong, but your email and the demo app helped me understand the logic behind the extension after a few try. Thanks again for your help, Yann On Fri, Nov 25, 2016 at 3:39 PM, Yann <yann.roq...@gmail.com> wrote: > Hi Vincent, > > Thanks a lot for your answer. I was able to install the demo (through > mvnrepository.com not through the extension manager but that was not a > problem) and it works fine. > The problem with my own RNs is that the {{releasenotechanges}} macro does > not detect the changes or can't make the link between the changes I created > and the release note, so I guess (I was convinced actually) that the macro > works fine but that I do something wrong. > > In fact I don't understand what parameters the macro uses to link changes > / RN. > Playing with the demo Xwiki RNs, I was able to add changes that were > immediatly displayed on the corresponding RN, but I noticed something weird > when I displayed the object page for the RN and the changes : the version > parameter is not the same... > > For the changes version = 8.3-rc-1 > > For the RN version = 8.3RC1 > > (I thought the link was made on the product + version parameters.) > > If I configure the version parameter for the change to 8.3RC1, the change > won't show up in the RN (8.3RC1). If I revert back to 8.3-rc-1 it appears > again. I think I am pretty close to the solution just need to know the > right parameters for the link. > > Regarding multilanguage support, I am going to open a jira as soon as I > can. > > For the last part I need to learn a little bit more about Xwiki but will > definetely try it when I feel more confortable. > > Thanks again for your help, > > Yann > > > > > On Fri, Nov 25, 2016 at 9:59 AM, Vincent Massol <vinc...@massol.net> > wrote: > >> Hi Yann, >> >> > On 24 Nov 2016, at 14:23, Yann <yann.roq...@gmail.com> wrote: >> > >> > Hello, >> > >> > I am new to xwiki (though like it a lot already...), I have installed >> the >> > release notes extension (1.3.1) but I have a problem with the >> > {{releasenotechanges}} macro. I may not use it properly, but I can't >> get my >> > changes appear in the release note page. I changed the default macro to >> use >> > the {{changes...}} macro instead, and it works better (but i need to >> > manually enter the product, version etc...) which is less convenient. >> >> Yep that’s why I introduced that {{releasenotechanges}} indeed :) >> >> > Once again I think I may not be using the extension correctly, but if >> > someone could point me to the documentation that could help me >> understand >> > how it works it would be much appreciated. (of course i have read this >> page >> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Release >> +Notes+Application/ >> > ) >> >> It’s probably not very clear but at http://extensions.xwiki.org/xw >> iki/bin/view/Extension/Release+Notes+Application/#HPrerequis >> ites26InstallationInstructions there’s an explanation about how to >> install a Demo application using the Release Notes app. >> >> Could you try installing it and see if it helps? >> >> > Also is there a way to change the default template of the RN to adapt >> it to >> > different context (for instance different languages)? >> >> Good point. I haven’t implemented support for multilanguage release >> notes. You could open a jira at http://jira.xwiki.org/browse/RN (and >> provide a pull request if you know how to do that :)). >> >> The template can be configured (see http://extensions.xwiki.org/xw >> iki/bin/view/Extension/Release+Notes+Application/#HConfiguration) but >> this won’t work to dynamically decide what template to use based on various >> parameters. >> >> ATM of you want to do this, you’ll need to modify a page: >> ReleaseNotes.Code.HomeExistingReleaseNotes and modify the following >> lines: >> >> #set ($configDoc = $xwiki.getDocument("${topSpace >> }.Code.ReleaseNotesConfig")) >> #set ($defaultProduct = $configDoc.getValue('product')) >> #set ($defaultTemplateReferenceString = $configDoc.getValue('template')) >> >> If you compute the reference to the doc you wish to use as template in >> the variable $defaultTemplateReferenceString the rest should work fine. >> >> Thanks >> -Vincent >> >> > Regards, >> > >> > Yann >> > >> > >
Re: [xwiki-users] Extension Release notes 1.3.1 : releasenotechanges macro
Hi Vincent, Thanks a lot for your answer. I was able to install the demo (through mvnrepository.com not through the extension manager but that was not a problem) and it works fine. The problem with my own RNs is that the {{releasenotechanges}} macro does not detect the changes or can't make the link between the changes I created and the release note, so I guess (I was convinced actually) that the macro works fine but that I do something wrong. In fact I don't understand what parameters the macro uses to link changes / RN. Playing with the demo Xwiki RNs, I was able to add changes that were immediatly displayed on the corresponding RN, but I noticed something weird when I displayed the object page for the RN and the changes : the version parameter is not the same... For the changes version = 8.3-rc-1 For the RN version = 8.3RC1 (I thought the link was made on the product + version parameters.) If I configure the version parameter for the change to 8.3RC1, the change won't show up in the RN (8.3RC1). If I revert back to 8.3-rc-1 it appears again. I think I am pretty close to the solution just need to know the right parameters for the link. Regarding multilanguage support, I am going to open a jira as soon as I can. For the last part I need to learn a little bit more about Xwiki but will definetely try it when I feel more confortable. Thanks again for your help, Yann On Fri, Nov 25, 2016 at 9:59 AM, Vincent Massol <vinc...@massol.net> wrote: > Hi Yann, > > > On 24 Nov 2016, at 14:23, Yann <yann.roq...@gmail.com> wrote: > > > > Hello, > > > > I am new to xwiki (though like it a lot already...), I have installed the > > release notes extension (1.3.1) but I have a problem with the > > {{releasenotechanges}} macro. I may not use it properly, but I can't get > my > > changes appear in the release note page. I changed the default macro to > use > > the {{changes...}} macro instead, and it works better (but i need to > > manually enter the product, version etc...) which is less convenient. > > Yep that’s why I introduced that {{releasenotechanges}} indeed :) > > > Once again I think I may not be using the extension correctly, but if > > someone could point me to the documentation that could help me understand > > how it works it would be much appreciated. (of course i have read this > page > > http://extensions.xwiki.org/xwiki/bin/view/Extension/ > Release+Notes+Application/ > > ) > > It’s probably not very clear but at http://extensions.xwiki.org/ > xwiki/bin/view/Extension/Release+Notes+Application/# > HPrerequisites26InstallationInstructions there’s an explanation about how > to install a Demo application using the Release Notes app. > > Could you try installing it and see if it helps? > > > Also is there a way to change the default template of the RN to adapt it > to > > different context (for instance different languages)? > > Good point. I haven’t implemented support for multilanguage release notes. > You could open a jira at http://jira.xwiki.org/browse/RN (and provide a > pull request if you know how to do that :)). > > The template can be configured (see http://extensions.xwiki.org/ > xwiki/bin/view/Extension/Release+Notes+Application/#HConfiguration) but > this won’t work to dynamically decide what template to use based on various > parameters. > > ATM of you want to do this, you’ll need to modify a page: > ReleaseNotes.Code.HomeExistingReleaseNotes and modify the following lines: > > #set ($configDoc = $xwiki.getDocument("${topSpace}.Code. > ReleaseNotesConfig")) > #set ($defaultProduct = $configDoc.getValue('product')) > #set ($defaultTemplateReferenceString = $configDoc.getValue('template')) > > If you compute the reference to the doc you wish to use as template in the > variable $defaultTemplateReferenceString the rest should work fine. > > Thanks > -Vincent > > > Regards, > > > > Yann > > > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Extension Release notes 1.3.1 : releasenotechanges macro
Hello, I am new to xwiki (though like it a lot already...), I have installed the release notes extension (1.3.1) but I have a problem with the {{releasenotechanges}} macro. I may not use it properly, but I can't get my changes appear in the release note page. I changed the default macro to use the {{changes...}} macro instead, and it works better (but i need to manually enter the product, version etc...) which is less convenient. Once again I think I may not be using the extension correctly, but if someone could point me to the documentation that could help me understand how it works it would be much appreciated. (of course i have read this page http://extensions.xwiki.org/xwiki/bin/view/Extension/Release+Notes+Application/ ) Also is there a way to change the default template of the RN to adapt it to different context (for instance different languages)? Regards, Yann ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Fwd: Printing several pages
Hello I still have no solution for this issue. Could you please help me? thanks -- Forwarded message -- From: Yann Gensollen yge...@gmail.com Date: 2012/7/17 Subject: Printing several pages To: users@xwiki.org Hello I cannot manage to use standard option to print several pages. When i use children pages, it works but page break option won t work, pages titles and pictures inside pages either. I also uses specific panel dowloaded on xwiki site. The pdf option gui works but i still have the same problems. Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Floating panel
Hello could you please tell me if it is possible to do this on xwiki? thanks 2012/7/24 Yann Gensollen yge...@gmail.com hello I have seen a post on this subject. But is there something downlable for it? Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Floating panel
hello I have seen a post on this subject. But is there something downlable for it? Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Printing several pages
Hello I cannot manage to use standard option to print several pages. When i use children pages, it works but page break option won t work, pages titles and pictures inside pages either. I also uses specific panel dowloaded on xwiki site. The pdf option gui works but i still have the same problems. Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] space redirection on user subscription
I am dummy, thanks for your help now it works. but it is so efficient that i cannot edit my main.webhome page. How can i edit my page and stop redirection, the time i write the right space thanks 2012/7/2, Guillaume Lerouge guilla...@xwiki.com: You forgot a closing ): You're using this: {{velocity}} $response.sendRedirect($xwiki.getURL('Main.Activity') {{/velocity}} instead of this: {{velocity}} $response.sendRedirect($xwiki.getURL('Main.Activity')*) ## added missing parenthese* {{/velocity}} Guillaume On Mon, Jul 2, 2012 at 3:25 PM, yann gensollen y...@gensollen.com wrote: i am extremely sorry to annoy you again with my little problem but i still cannot make it work. I tried to replace my space by standards page and space. but i am still not redirected on the page after registration. I stay still on main.Webhome instead of activity in the example my code of main webhome is now {{include document=Dashboard.WebHome context=new/}} {{velocity}} $response.sendRedirect($xwiki.getURL('Main.Activity') {{/velocity}} thanks 2012/7/2, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com: On Mon, Jul 2, 2012 at 10:56 AM, yann gensollen y...@gensollen.com wrote: Hello thanks for your help my code is now for main WebHome {{include document=Dashboard.WebHome context=new/}} {{velocity}} $xwiki.getURL(guide utilisateur Alexandhry.WebHome) Vincent suggested you to use $xwiki.getURL() instead of $xwiki.getDocumentURL(), not to drop the $request.sendRedirect() call. As you can see, there's no getDocumentURL method in http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/platform/xwiki-platform-oldcore/4.1.2/xwiki-platform-oldcore-4.1.2-javadoc.jar/!/com/xpn/xwiki/api/XWiki.html . $response.sendRedirect($xwiki.getURL('guide utilisateur Alexandhry.WebHome') Hope this helps, Marius {{/velocity}} but it still does not work when a user registers it still goes on main space instead of specific space. I also have changed default page on cfg file but no success either thanks yann 2012/6/29, Vincent Massol vinc...@massol.net: On Jun 29, 2012, at 5:23 PM, yann gensollen wrote: hello thanks for the answer I have edited the webhome of main space and now i have this {{include document=Dashboard.WebHome context=new/}} {{velocity}} $response.sendRedirect($xwiki.getDocumentURL('guide utilisateur $xwiki.getURL(Space.Page) Alexandhry.WebHome')) {{/velocity}} but it s still wont work what am i doing wrong? thanks 2012/6/29, Guillaume Lerouge guilla...@xwiki.com: Hi Yann, IIRC, you can change the default home page for the wiki in xwiki.cfg or in xwiki.properties. You can also add this code in your home page: {{velocity}} $response.sendRedirect($xwiki.getDocumentURL('SPACE.PAGE')) {{/velocity}} Guillaume On Fri, Jun 29, 2012 at 4:57 PM, yann gensollen y...@gensollen.com wrote: Hello Could u please tell me if it is possible when a user registers not to be redirected on main space webhome but a specific space instead. thank you ___ 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 ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] navigation tree page
Hello, I would like to generate a page or a panel that list parents and childs documents of my space. Could you please tell me if it is possible and how. thanks Yann ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] space redirection on user subscription
Hello thanks for your help my code is now for main WebHome {{include document=Dashboard.WebHome context=new/}} {{velocity}} $xwiki.getURL(guide utilisateur Alexandhry.WebHome) {{/velocity}} but it still does not work when a user registers it still goes on main space instead of specific space. I also have changed default page on cfg file but no success either thanks yann 2012/6/29, Vincent Massol vinc...@massol.net: On Jun 29, 2012, at 5:23 PM, yann gensollen wrote: hello thanks for the answer I have edited the webhome of main space and now i have this {{include document=Dashboard.WebHome context=new/}} {{velocity}} $response.sendRedirect($xwiki.getDocumentURL('guide utilisateur $xwiki.getURL(Space.Page) Alexandhry.WebHome')) {{/velocity}} but it s still wont work what am i doing wrong? thanks 2012/6/29, Guillaume Lerouge guilla...@xwiki.com: Hi Yann, IIRC, you can change the default home page for the wiki in xwiki.cfg or in xwiki.properties. You can also add this code in your home page: {{velocity}} $response.sendRedirect($xwiki.getDocumentURL('SPACE.PAGE')) {{/velocity}} Guillaume On Fri, Jun 29, 2012 at 4:57 PM, yann gensollen y...@gensollen.com wrote: Hello Could u please tell me if it is possible when a user registers not to be redirected on main space webhome but a specific space instead. thank you ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] space redirection on user subscription
i am extremely sorry to annoy you again with my little problem but i still cannot make it work. I tried to replace my space by standards page and space. but i am still not redirected on the page after registration. I stay still on main.Webhome instead of activity in the example my code of main webhome is now {{include document=Dashboard.WebHome context=new/}} {{velocity}} $response.sendRedirect($xwiki.getURL('Main.Activity') {{/velocity}} thanks 2012/7/2, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com: On Mon, Jul 2, 2012 at 10:56 AM, yann gensollen y...@gensollen.com wrote: Hello thanks for your help my code is now for main WebHome {{include document=Dashboard.WebHome context=new/}} {{velocity}} $xwiki.getURL(guide utilisateur Alexandhry.WebHome) Vincent suggested you to use $xwiki.getURL() instead of $xwiki.getDocumentURL(), not to drop the $request.sendRedirect() call. As you can see, there's no getDocumentURL method in http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/platform/xwiki-platform-oldcore/4.1.2/xwiki-platform-oldcore-4.1.2-javadoc.jar/!/com/xpn/xwiki/api/XWiki.html . $response.sendRedirect($xwiki.getURL('guide utilisateur Alexandhry.WebHome') Hope this helps, Marius {{/velocity}} but it still does not work when a user registers it still goes on main space instead of specific space. I also have changed default page on cfg file but no success either thanks yann 2012/6/29, Vincent Massol vinc...@massol.net: On Jun 29, 2012, at 5:23 PM, yann gensollen wrote: hello thanks for the answer I have edited the webhome of main space and now i have this {{include document=Dashboard.WebHome context=new/}} {{velocity}} $response.sendRedirect($xwiki.getDocumentURL('guide utilisateur $xwiki.getURL(Space.Page) Alexandhry.WebHome')) {{/velocity}} but it s still wont work what am i doing wrong? thanks 2012/6/29, Guillaume Lerouge guilla...@xwiki.com: Hi Yann, IIRC, you can change the default home page for the wiki in xwiki.cfg or in xwiki.properties. You can also add this code in your home page: {{velocity}} $response.sendRedirect($xwiki.getDocumentURL('SPACE.PAGE')) {{/velocity}} Guillaume On Fri, Jun 29, 2012 at 4:57 PM, yann gensollen y...@gensollen.com wrote: Hello Could u please tell me if it is possible when a user registers not to be redirected on main space webhome but a specific space instead. thank you ___ 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 ___ 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
[xwiki-users] space redirection on user subscription
Hello Could u please tell me if it is possible when a user registers not to be redirected on main space webhome but a specific space instead. thank you ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users