Announcement

Collapse
No announcement yet.

Sidebar box not showing in Brochure pages

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

    Sidebar box not showing in Brochure pages

    Working on a new site in design wizard I have set up a custom sidebar box by copying the custom left box. I set 2 variables, 1 each for title & text & set the layout to use the new variables.

    I inserted the new sidebar box layout into the Design Wizard Outer Layout. It works fine on all store pages, but all I get in the brochure pages for the new box is a blank title bar & no text.

    My ultimate aim is to make this box show only in the brochure sidebar, but not in the store pages sidebar.

    Any ideas for a fix?
    www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

    #2
    Standard actinic themes have one overall layout for section pages and one for brochure pages. You could follow the same idea. Alternatively if you understand blockifs (tutorials in the forum if not) you could wrap the container in a blockif which tests to see if the page type is brochure or not. It will only show when you want it to then.

    Comment


      #3
      Thanks for the tips Lee. I had already set up different outer layouts for brochure & catalogue. When I added the custom sidebox into the brochure outer layout, I got the problem with a blank side box title bar showing only.

      I tried to fix by changing brochure pages back to the original outer layout & this made it show only in the catalogue. I inserted the side box layout into the outer layout right under the nav bar layout so it was within the same blockif as the brochure nav bar. That got me to the result in my first post.

      Today I have created a fresh brochure page, still on the same layout & the custom side box is showing on it yet still doesn't show on the previously created brochure pages.

      Strange, but does anyone know how i can make the custom sidebar box show in all the older brochure pages without re-creating them all?
      www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

      Comment


        #4
        I think you are putting it in the wrong place, without seeing things if you are putting it in the code by the navbar, that just sounds wrong. If we take a typical website model:

        Area1 - header
        Area2 - navbar
        Area3 - left column
        Area4 - center column
        Area5 - right column
        Area6 - footer

        It sounds to me like you want to add an 'area5', in which case the code needs to go after area4, not area2. I think you are just putting things in the wrong place, perhaps you could show us what you have done.

        Comment


          #5
          An extract from the outer layout code is:

          <actinic:block if="%3cactinic%3avariable%20name%3d%22Wiz5%5fBrochureList%22%20%2f%3e%20%3d%3d%20%22Left%20Side%22" >
          <!-- list of brochure pages is shown in the left bar -->
          <actinic:variable name="BrochureNavBar" />
          <br />
          <actinic:variable name="CustomSidebarBox" value="Catalog Sidebar Box" />
          <br />
          </actinic:block>
          The only bit of code I have added to the outer layout is the custom sidebar box.

          The code for the inserted layout is:

          <table cellpadding="0" cellspacing="0" border="0" width="100%">
          <tr>
          <td valign="top" width="10%" bgcolor="<actinic:variable name="Palette2" />"><img src="theme_tab2_left.gif" /></td>
          <td bgcolor="<actinic:variable name="Palette2" />" width="80%" height="20"><span class="boxheading"><actinic:variable name="CATALOGTITLE" /></span></td>
          <td valign="top" width="10%" align="right" bgcolor="<actinic:variable name="Palette2" />"><img src="theme_tab2_right.gif" /></td>
          </tr>
          <tr>
          <td colspan="3" class="thinborder2" style="padding: 6px;">
          <actinic:variable name="CATALOGTEXT" />
          </td>
          </tr>
          </table>
          The only changes from the standard Custom Sidebar box layout are the vatiables CATALOGTITLE, CATALOGTEXT, the cellpadding & the removal of the blockif.
          www.calmncomfy.co.uk : Improving well being and enjoyment of life - Naturally

          Comment

          Working...
          X