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

XF 1.5 what is the syntax code if my forum node has no "ID" just a name ?

#1
I would like this code to point to the node name and not the node ID .

below is how it works with nodes that have ID.

xen:if is="{$forum.node_id} == 5 AND {$thread.first_post_id} == {$message.post_id}">
<br />Or Click => <a href="http://www.com/keyword">keyword</a> <= to continue..
</xen:if>

But I have one that has no ID ...it just has a name.

so what would i put in {$forum.node_id} to make it point to the name .

Thanks .

I hope i posted this in the correct place.
 

Mike

XenForo developer
Staff member
#2
Every node has an ID, even if you don't see it in the URL in the front end. You'll see it in the URL in the control panel though.