XF 1.3 Conditional to not show HTML on portal (XenPorta)


Well-known member
I have some code that shows up in the ad_above_top_breadcrumb that I don't want displayed on the portal page (the homepage) in XenPorta. I figure it's a matter of checking something to see if its = EWRporta_Portal but I don't know what variable to check.

Sorry, I've been working on a migration for 13 hours and should probably be able to find this somewhere...

Steve F

Well-known member
<xen:if is="!{$contentTemplate} == 'EWRporta_Portal'">
        This Content will show on all pages except XenPorta


Well-known member
Strange. That's the code I tried and it makes it so the code doesn't show up anywhere. That's why I gave up and asked here. I'll see if I did something wrong.