Announcement

Collapse
No announcement yet.

Hiding a brochure page from list

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

    Hiding a brochure page from list

    Hello - tried the knowledge base article on the above but when I get to the "insert block" I get coding errors every time, I created the new variable first which looks ok - any help appreciated?

    Ed
    https://www.harrisontelescopes.co.uk/

    Ed Harrison - Menmuir Scotland

    #2
    Want to tell us what you did so we can correct it?

    copy the code a paste it here within the code tags (# icon above)

    Comment


      #3
      Heres the code...

      Thanks heres the layout the KB says to add the block to after creating the new variable called ShowPageInSidebar

      Code:
      <a href="<actinic:variable name="BrochurePageURL" />" class="product_section"><actinic:variable name="BrochureName" /></a>
      Heres the block I'm adding but not sure where to add:

      Code:
      <actinic:variable name="ShowPageInSidebar" /> == true
      Ed
      https://www.harrisontelescopes.co.uk/

      Ed Harrison - Menmuir Scotland

      Comment


        #4
        which KB are you using?

        Comment


          #5
          kb

          http://community.actinic.com/showthread.php?t=45312
          Last edited by KB2; 22-Mar-2010, 02:34 PM. Reason: Updating kb links
          https://www.harrisontelescopes.co.uk/

          Ed Harrison - Menmuir Scotland

          Comment


            #6
            11. Go to the 'Design' tab and in the preview pane click on one of the brochure pages in your list. You should now be looking at a layout called something like 'Simple Brochure Page Link' or 'Standard Brochure Page Link' etc.

            12. Highlight all the code in the layout and click the 'Insert Block' button:

            13. You should now be in the Condition Editor. Change the condition to:

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

            You can just copy and paste the code straight into the editor.

            14. Click 'OK' and then click 'Apply' to confirm your changes.

            You can now go into the 'Properties' tab of any brochure page that you don't want in the list, and change 'Show Page In Sidebar' to 'False'.
            Bear in mind i'm rusty on this sort of stuff.... but reading the docs

            your first code block is the link that appears in the nav
            your 2nd code block is the condition to say show/dont show it

            I worked through the KB - see attached image showing what i did

            how does this compare to yours?
            Attached Files

            Comment


              #7
              Now its totally sorted thanks for the help my list looks normal again!

              Well there is one annoying bug - in the nav bar its showing an empty box in the list - the brochure page name and link text are not there but this is really ugly - if I add lots of brochure pages this will look very untidy.

              Seems bad that you cant hide things from the navigation in an evolved software package - would have thought this was basic not a half working mod requirement!



              Ed
              https://www.harrisontelescopes.co.uk/

              Ed Harrison - Menmuir Scotland

              Comment

              Working...
              X