Removing Actinic V8.0.2 (and lower) bug workaround

Basic cascading menu for Actinic 5 onwards.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Removing Actinic V8.0.2 (and lower) bug workaround

Post by norman »

Actinic V8 versions prior to 8.0.3 contain a bug in the creation of the JavaScript arrays.
NorTree originally shipped with a workaround for this bug.
This workaround meant that a larger than necessary file was being loaded that will affect page load times.
The fix to remove this workaround if you're using 8.0.3 or later is as follows.

Code: Select all

In the Actinic Content Tree, click on any Product Section.
Then select the Design Tab.
Click the top of the Design Tree (on default site - "Works Best with Executive").  
In the Layout Code window look for the lines


<actinic:variable name="JavaScriptArray" value="All Data From All Sections" />
<script type="text/javascript">
<!-- Actinic GIKA bug workaround
var section_tree_names = section_tree;
var section_tree_URLs = section_tree;
// -->
</script>


Replace these lines with


<actinic:variable name="JavaScriptArray" value="Name Data From All Sections" />
<actinic:variable name="JavaScriptArray" value="URL Data From All Sections" />
Norman
Post Reply