Hi I was wondering if anyone can help. I have run into to some trouble with actinic. I am new to it.
I have added a javascript menu to generate a list of links to my top level sections for my site.
The site seems to run fine when live but in the actinic software I get a javascript pop error 'CreateArray' is undefined when ever I go to a different page or section. The site does also not offline preview correctly. Any ideas ?
I have the menu on both brochure pages and the catalogues pages. I have searched the forum but cant find a fix.
an example of the header from my primary template:
<head>
<title>NETQUOTEVAR:PAGETITLE</title>
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF" />
<meta name="ACTINICTITLE" content="NETQUOTEVAR:PAGEHEADER">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--@act NETQUOTEVAR:HEADERMETA -->
<!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
<!--@act NETQUOTEVAR:LOADFUNCTION -->
<!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
<link rel="stylesheet" href="actinic.css" type="text/css" />
<script language="JavaScript" src="actiniccore.js" type="text/javascript"></script>
<script language="JavaScript" src="actinicextras.js" type="text/javascript"></script>
<script language="JavaScript" src="ACT_sections.js" type="text/javascript"></script>
<actinic:variable name="JavaScriptArray" value="All Data From Top Level Sections" />
<script language="JavaScript" src="java-menu.js" type="text/javascript"></script>
<script language="JavaScript" src="validate-email.js" type="text/javascript"></script>
<!-- Placeholder of cookie checking javascript code. Do not remove it! -->
<Actinic:COOKIECHECK/>
<!--
The NETQUOTEVARs below can be uncommented for getting raw section lists:
1. Top level section list
2. Section list from current level and all children
3. The whole section tree
The rest covers the standalone structure members for each array - e.g. if
you only need sName or sURL from an array.
See the documentation for details.
NETQUOTEVAR:CHILDSECTIONS_RAW
NETQUOTEVAR:SECTIONTREE_RAW
NETQUOTEVAR:SECTIONTREE_NAMES
NETQUOTEVAR:SECTIONTREE_URLS
NETQUOTEVAR:SECTIONTREE_IMAGES
NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
NETQUOTEVAR:SECTIONTREE_SECTIONIDS
NETQUOTEVAR:CHILDSECTIONS_NAMES
NETQUOTEVAR:CHILDSECTIONS_URLS
NETQUOTEVAR:CHILDSECTIONS_IMAGES
NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS
The section level can be accessed through:
NETQUOTEVAR:SECTIONLEVEL
-->
<!--
The NETQUOTEVARs below can be uncommented and moved to the appropriate
location
to save and load shopping lists
<A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Save
Shopping List</B></I></FONT></A>
<A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Load
Shopping List</B></I></FONT></A>
--->
</head>
I hope someone can shed some light on my problem
Thanks in advance
M Kane.
I have added a javascript menu to generate a list of links to my top level sections for my site.
The site seems to run fine when live but in the actinic software I get a javascript pop error 'CreateArray' is undefined when ever I go to a different page or section. The site does also not offline preview correctly. Any ideas ?
I have the menu on both brochure pages and the catalogues pages. I have searched the forum but cant find a fix.
an example of the header from my primary template:
<head>
<title>NETQUOTEVAR:PAGETITLE</title>
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF" />
<meta name="ACTINICTITLE" content="NETQUOTEVAR:PAGEHEADER">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--@act NETQUOTEVAR:HEADERMETA -->
<!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
<!--@act NETQUOTEVAR:LOADFUNCTION -->
<!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
<link rel="stylesheet" href="actinic.css" type="text/css" />
<script language="JavaScript" src="actiniccore.js" type="text/javascript"></script>
<script language="JavaScript" src="actinicextras.js" type="text/javascript"></script>
<script language="JavaScript" src="ACT_sections.js" type="text/javascript"></script>
<actinic:variable name="JavaScriptArray" value="All Data From Top Level Sections" />
<script language="JavaScript" src="java-menu.js" type="text/javascript"></script>
<script language="JavaScript" src="validate-email.js" type="text/javascript"></script>
<!-- Placeholder of cookie checking javascript code. Do not remove it! -->
<Actinic:COOKIECHECK/>
<!--
The NETQUOTEVARs below can be uncommented for getting raw section lists:
1. Top level section list
2. Section list from current level and all children
3. The whole section tree
The rest covers the standalone structure members for each array - e.g. if
you only need sName or sURL from an array.
See the documentation for details.
NETQUOTEVAR:CHILDSECTIONS_RAW
NETQUOTEVAR:SECTIONTREE_RAW
NETQUOTEVAR:SECTIONTREE_NAMES
NETQUOTEVAR:SECTIONTREE_URLS
NETQUOTEVAR:SECTIONTREE_IMAGES
NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
NETQUOTEVAR:SECTIONTREE_SECTIONIDS
NETQUOTEVAR:CHILDSECTIONS_NAMES
NETQUOTEVAR:CHILDSECTIONS_URLS
NETQUOTEVAR:CHILDSECTIONS_IMAGES
NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS
The section level can be accessed through:
NETQUOTEVAR:SECTIONLEVEL
-->
<!--
The NETQUOTEVARs below can be uncommented and moved to the appropriate
location
to save and load shopping lists
<A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Save
Shopping List</B></I></FONT></A>
<A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Load
Shopping List</B></I></FONT></A>
--->
</head>
I hope someone can shed some light on my problem
Thanks in advance
M Kane.
Comment