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