Announcement

Collapse
No announcement yet.

section tree undefined

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

    section tree undefined

    I'm trying to insert the drop down list as per p.37 of the AUG.

    jscript error is reported: 'section_tree' undefined

    brochure primary is attached.

    thanks for any help

    #2
    here's the attachment

    (seems that when you 'preview reply' before posting the attachment disappears)
    Attached Files

    Comment


      #3
      You need to place the variable NETQUOTEVAR:SECTIONTREE_RAW into Act_Primary.html (the store overall layout template) in order to generate the JavaScript section list.

      Then in your brochure pages you can put in the following line just underneath where it says <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js"></SCRIPT>:

      <SCRIPT LANGUAGE="JavaScript" SRC="Act_section_tree.js"></SCRIPT>

      That should do it.

      Comment


        #4
        Does this method allow us to insert the section links into any other page we add to Actinic?

        That would be very handy!

        Comment


          #5
          Yes. Just ensure you have:

          <!--@act NETQUOTEVAR:SECTIONTREE_RAW -->

          in the <head> section of every store overall layout template (Act_Primary) and have:

          <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js"></SCRIPT>
          <SCRIPT LANGUAGE="JavaScript" SRC="Act_section_tree.js"></SCRIPT>

          into every non Actinic store page. You can then include the rest of the JavaScript for the section list as normal.

          Comment


            #6
            Chris, thanks - good software and good service

            Comment

            Working...
            X