No announcement yet.

How can I stop some Brochure Pages from appearing in the list?

  • Filter
  • Time
  • Show
Clear All
new posts

    How can I stop some Brochure Pages from appearing in the list?

    This will show you how to specify which brochure pages will appear in the list of brochure pages that appears in your store design, or in the horizontal brochure menu.
    1. Go to 'Design | Library' and go to the 'Variables' tab.
    2. Right click on the 'Brochure' group and select 'New Variable'
    3. Give the variable a name of 'ShowOrHideBrochureLink'.
    4. Give it a prompt of 'Show Page Link in Sidebar/Menu?'.
    5. Under 'Place of Setting' select 'Brochure'.
    6. Under 'Panel Name' select 'General' ('Tab Name' in version 8).
    7. De-select 'Allow <Use parent> as an Option'.
    8. Change the 'Type' field to 'True/False'.
    9. Leave the 'Top Level Value' and 'Initial Value' to 'True' if you want all pages shown by default. Set them both to 'False' if you don't.
    10. Click 'OK' and close the library.
    11. Go to the 'Design' tab and then go to 'Window' and select 'Restore Split View Layout'
    12. Select one of the brochure pages in your navigation list, then click in the preview pane on one of the menu links. You should now be looking at the brochure link layout for your theme.
    13. Highlight all the code in the layout and click the 'Insert Block' button *
    14. You should now be in the Condition Editor. Change the condition to:

      <actinic:variable name="ShowOrHideBrochureLink" /> == true

      You can just copy and paste the code straight into the editor.
    15. Click 'OK' and then click 'Apply' to confirm your changes.

    You can now go into the 'General' tab of any brochure page that you don't want in the list, and change 'Show Page Link in Sidebar/Menu?' to 'False'.

    * PLEASE NOTE: If you are using the 'Reflective' theme, you will need to do this to line 4 of the layout which displays the code: -
    <li><a href="<actinic:variable name="BrochurePageURL" />"><actinic:variable name="BrochureName" /></a></li>