Hi,
I want to put a condition into the top section list so that only certain section name are displayed. The reason is I want to create lots of new "Landing" pages for my goggle ad words but don't want these to seen on the normal site nagivation. I would have thought that simply putting a condition somewhere in the layout code for "Section Name Only Section Link" along the lines SectionName <> "XXXXXXX". But I've tried that with no luck. I must be using the wromng variable (SectionName) or using the condition wrong.
Any help would be appreciated.
Below is the current code for "Section Name Only Section Link" if that helps
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsSectionIncludedInSiteMap%22%20%2f%3e" >
<a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" class="product_section">
<Actinic:Variable Name="SectionName"/>
</a>
</actinic:block>
</actinic:block>
I want to put a condition into the top section list so that only certain section name are displayed. The reason is I want to create lots of new "Landing" pages for my goggle ad words but don't want these to seen on the normal site nagivation. I would have thought that simply putting a condition somewhere in the layout code for "Section Name Only Section Link" along the lines SectionName <> "XXXXXXX". But I've tried that with no luck. I must be using the wromng variable (SectionName) or using the condition wrong.
Any help would be appreciated.
Below is the current code for "Section Name Only Section Link" if that helps
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsSectionIncludedInSiteMap%22%20%2f%3e" >
<a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" class="product_section">
<Actinic:Variable Name="SectionName"/>
</a>
</actinic:block>
</actinic:block>
Comment