Try this:
[[Wiki Home>>xwiki:Main.WebHome]]
and if you are in a Velocity macro/context, the best option is
[[Wiki Home>>$services.model.resolveDocument('', 'default')]]
Hope this helps,
Marius
On Thu, Feb 27, 2014 at 6:43 PM, DeHaynes <ew1560(a)wayne.edu> wrote:
I am trying to setup a wiki template that contains a
menu. In the menu I
want to create a link to Main.WebHome of the root wiki. I have tried:
[[Wiki Home>>Home:Main.WebHome]]
[[Wiki Home>>localhost:Mian.WebHome]]
I tried the 2nd one because localhost is listed as the alias for the root
wiki. Unfortunately neither of these worked. Can anyone tell me the
correct syntax to use?
I am using XWiki 5.4.1 on Ubuntu with MySQL and Tomcat 7. I just did the
vanilla deb install. I have not change the main wiki name or alias.
--
View this message in context:
http://xwiki.475771.n2.nabble.com/XWiki-Syntax-2-1-Link-to-root-wiki-tp7589…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users