[xwiki-users] Using variables
Sometime it would be usefull to set "someware" one or more variables to use in the wiki text in order to change them in a single point and see value change propagated in every page containing the variable. Is it possible ? How ? Tks -- View this message in context: http://xwiki.475771.n2.nabble.com/Using-variables-tp7590678.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, Hope this helps: http://www.xwiki.org/xwiki/bin/view/FAQ/How+to+share+content+between+pages Thanks -Vincent On 27 May 2014 at 18:27:13, tullio0106 ([email protected](mailto:[email protected])) wrote:
Sometime it would be usefull to set "someware" one or more variables to use in the wiki text in order to change them in a single point and see value change propagated in every page containing the variable. Is it possible ? How ? Tks
Tks for Your help. I found a partial solution using a Wiki Macro. I saw partial because I'm now able to use it in the page body but not in the page title. If I put in the page title {{ProductName/}} I see {{ProductName/}} and not the value. What's wrong ? Tks -- View this message in context: http://xwiki.475771.n2.nabble.com/Using-variables-tp7590678p7590696.html Sent from the XWiki- Users mailing list archive at Nabble.com.
You cannot put wiki syntax in page titles at this stage (only velocity will get executed). Thanks -Vincent On 28 May 2014 at 12:08:49, tullio0106 ([email protected](mailto:[email protected])) wrote:
Tks for Your help. I found a partial solution using a Wiki Macro. I saw partial because I'm now able to use it in the page body but not in the page title. If I put in the page title {{ProductName/}} I see {{ProductName/}} and not the value. What's wrong ? Tks
I'm quite new, could You suggest how I can have access to the macro code or to the macro content in my title using velocity ? Could You provide a snippet ? Tks -- View this message in context: http://xwiki.475771.n2.nabble.com/Using-variables-tp7590678p7590700.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
tullio0106 -
vincent@massol.net