Announcement

Collapse
No announcement yet.

Condition Syntax

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Condition Syntax

    Hi,

    I'm new to Actinic but think I'm slowly getting to grips with it. I have a problem with a conditional filter.

    At the foot of the page I have a box of brochure page links which use CSS. The list is based on the Text Brochure Page Link layout with the list start and end being wrapped in <ul></ul>. The layout code loops through building the list code <li>Brochure name variable</li>

    I need to filter out the Home, About us and contact link from this list of brochure page links. When I wrap the <li></li> code in the condition syntax BrochureName != "Home" the Home link is not displayed but when I use BrochureName != "Home" OR BrochureName != "About" OR BrochureName != "Contact" the links aren't being filtered out.

    Hope I've explained this OK. Just wondering if anyone has any tips.

    Andy

    #2
    Try using AND instead or OR.
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    Comment


      #3
      Thanks, worked a treat

      Comment

      Working...
      X