[RSS Feed/News] {{ dump($var) }} Can't figure out this conditional for certain template

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm trying to figure out how to make a conditional like this.
The template is xfrm_resource_view

<xf:if is="!$resourceCategory.resource_category_id == 24 OR !$resourceCategory.parent_category_id == 24">
I've tried some form of this, but they aren't working. Usually works on page container template.

So I tried {{ dump($var) }} that the jedi @Brogan taught me but it comes out null in this template?
Also, how do I {{ dump($var) }} for a certain template like in xf1?

Spent a good hour...

Read more

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