I have some code in my template..
eg: <h1>[[*introtext]]</h1>
I want to hide that from every page within a specified resource ID
Whats the easiest way to do this using the powers of revolution?
I have managed to do this
[[*parent:if=`[[*parent]]`:eq=`10`:then=``:else=`[[$sub-introtext]]`]]
Which is working but i think i could maybe do this easier?
Plus how do i add multiple parent id’s ?
10||12||13 doesnt work
OK i feel like im talking to myself here but ive managed to do it like this
[[*parent:if=`[[*parent]]`:eq=`10`:or:is=`11`:or:is=`12`:then=``:else=`[[$sub-introtext]]`]]
if there is a better solution please can someone let me know