Log in

View Full Version : Conditional display in template by forumid


andor
08-11-2014, 11:14 PM
Hi - not sure how to do this simply in vB5 - how does one conditionally display in vB5 depending on forumid?

In vB previous it was as simple as

<vb:if condition="$forum[forumid] == 88">Show this if forum id is 88</vb:if>

Very much appreciate some guidance.

Dead Eddie
08-12-2014, 01:52 AM
Depends on the template. You're probably looking for channel.nodeid.

andor
08-12-2014, 02:08 AM
Thanks for that, that set me off in a new direction, and have successfully used:

<vb:if condition="$page['channelid'] == 88">Show this if forum id is 88</vb:if>