[RSS Feed/News] can't add page_node conditional in page_container template?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm trying to run a check for node_id in the page_container template to display content in a specific node. Will it not work in that template?
I've tried both:
Code:

<xf:if is="in_array({$forum.node_id}, [x])">
Code:

<xf:if is="$forum.node_id == x">
Neither worked.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom