Announcement

Collapse
No announcement yet.

Section Links in Brochure Pages

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

    Section Links in Brochure Pages

    Hi hi. New to v7, here's my first query:

    I've got a site here which has links to all the sections in the left-hand navigation. Problem being, this is all generated by client-side scripting (document.write(YahooSections(section_tree))), so the site is neutered from a search engine perspective.

    Is there a way to generate links to all the site sections - both in BrochurePrimary and Primary - without resorting to hacks like client-side scripting? Failing that, is there a placeholder for getting just the top-level sections to appear in both of these templates and I'll hack around that?

    I can't hard-code the links because this is a Business site.

    Any advice much appreciated.

    #2
    I know it's a bit early for a bump, but surely the above is such a common scenario that the answer is simple and commonly-known, right?

    Please don't tell me that that catalog section links in brochure pages can only be generated using Javascript or hard-coded, because I will sulk.

    Comment


      #3
      Hi there

      Version 7 support "NETQUOTEVAR:TOPLEVELSECTIONTOP" which will give you the main top sections on brochure pages as well as Catalog pages. However using the javascript will allow client not to log out. Most clients when submitting their site to google or search engine would submit their sitemap (http://www.domain.com/acatalog/sitemap.html) which is just a page full of links and google can spider it.

      You could try editing your brochure pages and primary template and where the section tree is defined, you could put in:
      Code:
      <noscript>NETQUOTEVAR:TOPLEVELSECTIONTOP</noscript>
      So if a customer does not use javascript they can a full section list.

      Kind Regards
      Nadeem Rasool
      SellerDeck Development

      Comment


        #4
        I'd tried this placeholder and found it didn't work in the BrochurePrimary template (it's not listed as working in that template in the AUG appendix either). I also tried TOPLEVELSECTIONSTOP ("SECTIONS" - multiple), in case of typos, and that didn't work either. In the end I wrote a server-side script to parse Act_section_tree.js and generate a menu from it.

        Comment


          #5
          Hi Kevin,

          If you have 7.0.1 then it will not work, this placeholder works on 7.0.2 onwards. So you may need to update your software.

          Kind Regards
          Nadeem Rasool
          SellerDeck Development

          Comment

          Working...
          X