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 on this now
I also tried the "key" one I forget the exact conditional.
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 on this now
![Frown :( :(](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f641.png)