Announcement

Collapse
No announcement yet.

block to test section

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

    block to test section

    i want to stop this silly inheritance of section images, here's my structure

    Online Catalog
    section
    subsection
    subsection
    section
    subsection and so on.

    I want an image at section, but I do not want the images to cascade down to subsection. At subsection i want no image.

    so i create a new variable call it TLSectionImage (toplevel) I put my top level image name in here, and leave actinicsection image blank.

    so what's my block statement?

    SectionLevel == ? show TLSectionImage
    SectionLevel == ? show default actinic section image

    #2
    In plain English try....

    BLOCK IF [ SectionLevel == 1 ]
    TLSectionImage
    /BLOCK

    BLOCK IF [SectionLevelIsGreaterThan1 ]
    SectionImage
    /BLOCK


    ie .. top level sections (which are 1) show the TL image ... sub sections (greater than level 1) to show the default section image layout.


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment

    Working...
    X