Announcement

Collapse
No announcement yet.

Act_section_tree.js

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

    Act_section_tree.js

    Just a quick question regarding Act_section_tree.js:

    Is there a different, smaller version of this file that contains the section name and the section's relevant link without all the other information? I'm trying to get load times down, and there's a lot of redundant info in this rather large file which is unfortunately necessary for some navigation. I've had a flick through the AUG and done a forum search, but I'm afraid I couldn't find anything specific.

    Thanks.

    #2
    I must admit I've looked at this before and not got anywhere - it would be really cool to sort this one.

    Phill

    Comment


      #3
      a different, smaller version of this file
      I cannot see what use it is in your template - why dont you remove it?

      Comment


        #4
        You can use

        NETQUOTEVAR:SECTIONTREE_NAMES
        NETQUOTEVAR:SECTIONTREE_URLS

        to create files

        Act_section_tree_names.js
        Act_section_tree_URLs.js

        that contain just these bits of the structure.

        In addition I've written a PHP program that strips all unnecessary data from these files, removes repeated text and thus greatly compacts them. It also limits the depth of the tree to 2 or 3 levels. This can reduce the file size to 10% or less of the original, depending on the site. You'd have to contact me by e-mail as this isn't free.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X