• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Documentation for the xen:link (and others)

#1
I was wondering if there is documentations somewhere on what arguments are available to be passed to them, not just xen:link but many other xen:
I haven't found any documentation at all, and I'm not good enough at coding to wade through the entire sourcecode just to find some answers :/

Is there any documentation for it anywhere? the info over at http://xenforo.com/help/ is lackluster to say the least
 
#3
Thanks, but that sadly didn't help me, as I'm trying to get the full url (including domain and everything) for a node, looking into my Core.php I was able to find something called "fullurl", so I tried {xen:helper fullurl, $news} yet it still only prints the relative path, not the full url (note: $news is the node item for recent news block from XenPorta)
 

Chris D

XenForo developer
Staff member
#4
Assuming the $news parameter is available in the template that you're putting the code in, you would use this code:

{xen:link full:forums, $news}

Should format as http://yourdomain.com/forums/news-forum.1/ or http://yourdomain.com/index.php?forums/news-forum.1/ depending on whether friendly URLs are enabled or not.