Announcement

Collapse
No announcement yet.

PreviewHTML - script error actiniccore.js overwritten?!?

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

    PreviewHTML - script error actiniccore.js overwritten?!?

    From the template I have removed the script 'function SubSectionList' that generates the sub section list and put it into actiniccore.js (using external text editor) to tidy up the html

    When clicking on a sub section further down the catalog tree it throws an error when it gets to this line:

    document.write(SubSectionList(section_tree))

    This is because the actiniccore.js is overwritten/refeshed/reverts to what the js file looked like prior to adding the 'function SubSectionList' script).

    Why does it do this - overwrite my edited actiniccore.js file?

    When/How do the preview files get generated?
    example of my work http://www.tattoofashion.com

    #2
    The actiniccore.js in your Site folder (usually Site1) is the master copy.

    Don't change the one on your PreviewHTML or on your server as this will always get overwritten or a Preview, Refresh or Update.

    Also, if you change Themes, files like actiniccore.js usually get replaced.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norm!!
      example of my work http://www.tattoofashion.com

      Comment

      Working...
      X