Announcement

Collapse
No announcement yet.

Different Outer Layouts for sections

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

    Different Outer Layouts for sections

    Getting myself a bit confused here

    Is it possible to have a different outer layout which will include a picture for that section and a menu for that section?

    I have tried to change layout and select them for each but it seems to change all layouts. I could be missing something really simple here.

    To give you an idea, this is the URL and I would want to change the picture and menu's for at least the three main sections but also the sub-sections - "Bracelets" etc..
    http://www.zaharalondon.com/acatalog...bracelets.html

    Thank you.

    #2
    What you need to do is to add the new code that you want for a specific section to the outer layout then wrap it up in a blockif that checks you are on that section. Something like sectionname == "Bracelets"
    Unusual Silver Jewellery
    Giftmill - Unusual Gifts
    Crystal Healing Jewellery
    Steampunk Jewellery

    Comment


      #3
      Hi Andy - I was thinking about blockif's but have never got my head around them before but had a quick look through Gabriels tutorial and its not that scary. So many thanks for your advice and Gabriels tutorial, its got me on track.

      All the best,
      Ollie

      Comment


        #4
        Blockif sub sections

        I got the Blockif to work with sectionname == "Bracelets" - how would I get it to include this layout in the sub sections within "Bracelets". I did get round it by using separate blockif's for each sub section but this would not be practical in the long term so I am sure there is a better solution...?

        Comment


          #5
          Create a new variable scoped to Section and then test that variable instead.

          Comment


            #6
            The way I do it is to create a new variable as Duncan says and set it's initial value to use parent. That way you only have to set it at the top of the tree and it filters down to each subsection.
            Unusual Silver Jewellery
            Giftmill - Unusual Gifts
            Crystal Healing Jewellery
            Steampunk Jewellery

            Comment


              #7
              Thanks

              Thanks Andy and Duncan for your advice. I am a little inexperienced with this and can see how to create a variable but can't see the bigger picture and how to implement this. If there is a tutorial you can point me in the direction that would be a great help.
              Many thanks,
              Ollie

              Comment

              Working...
              X