kingston Well-known member Feb 16, 2011 #1 I am trying to tell something to not show on Jaxel's portal mod, so I put this IF statement in front of it. Something is syntactically wrong. What did I do? <xen:if !="{EWRporta_Portal"}>
I am trying to tell something to not show on Jaxel's portal mod, so I put this IF statement in front of it. Something is syntactically wrong. What did I do? <xen:if !="{EWRporta_Portal"}>
Trombones13 Well-known member Feb 16, 2011 #2 Shouldn't the closing quotation mark be after the curly brace? <xen:if !="{EWRporta_Portal}"> Upvote 0 Downvote
kingston Well-known member Feb 16, 2011 #3 Hah, yes. I retyped it here and made that mistake. This is what I was trying to save: <xen:if !="{$EWRporta_Portal}"> But thank you for catching my bad syntax in my example! Upvote 0 Downvote
Hah, yes. I retyped it here and made that mistake. This is what I was trying to save: <xen:if !="{$EWRporta_Portal}"> But thank you for catching my bad syntax in my example!
Jake Bunce Well-known member Feb 16, 2011 #4 What is the content template for Jaxel's portal? http://xenforo.com/community/threads/1-0-0-b1-how-to-identify-the-root-template-of-a-page.5591/ If you can identify the content template of the page then you can use a condition like this in the PAGE_CONTAINER template: Code: <xen:if is="{$contentTemplate} != 'jaxels_content_template'"> </xen:if> Upvote 0 Downvote
What is the content template for Jaxel's portal? http://xenforo.com/community/threads/1-0-0-b1-how-to-identify-the-root-template-of-a-page.5591/ If you can identify the content template of the page then you can use a condition like this in the PAGE_CONTAINER template: Code: <xen:if is="{$contentTemplate} != 'jaxels_content_template'"> </xen:if>
kingston Well-known member Feb 16, 2011 #5 Jake Bunce said: What is the content template for Jaxel's portal? http://xenforo.com/community/threads/1-0-0-b1-how-to-identify-the-root-template-of-a-page.5591/ If you can identify the content template of the page then you can use a condition like this in the PAGE_CONTAINER template: Code: <xen:if is="{$contentTemplate} != 'jaxels_content_template'"> </xen:if> Click to expand... That worked! Thanks! Upvote 0 Downvote
Jake Bunce said: What is the content template for Jaxel's portal? http://xenforo.com/community/threads/1-0-0-b1-how-to-identify-the-root-template-of-a-page.5591/ If you can identify the content template of the page then you can use a condition like this in the PAGE_CONTAINER template: Code: <xen:if is="{$contentTemplate} != 'jaxels_content_template'"> </xen:if> Click to expand... That worked! Thanks!