PDA

View Full Version : Category List Missing


Richardpixel
13-Apr-2005, 09:25 AM
I have the standard category section list on the left panel on my site, below the cart display, but on the search results page, the category list disappears. Does anyone know why this is happening and how I can get this to be visible?

Nadeem
15-Apr-2005, 09:09 AM
Hi Richard,

This is normal, on searching or checking out, the Catagory list will be missing. The idea behind this is that on checkout, you want the client to checkout and not give them any option to go back to the store, unless they click on "Cancel".
If you want to change this, then you need to edit your "Act_Primary.html" and find a variable called "NETQUOTEVAR:TOPLEVELSECTIONTOP".
Simply remove this, as you cannot use this, and check the advance user guide (http://www.actinicdownloads.com/docs/user_guides/advancedguide_7.zip).
Here look for the section entitled Creating a List of Hyperlinks with Sections and Sub-sections, and implement it.

This will show the sections and sub section. If you want it to just show the main section, then simply use the following code


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

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function SectionList(ar)
{
var strIDs = '<table border=0 width=95% cols=2>';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL !=null)
{
strIDs += '<tr><td colspan=2><a href="' + ar[i].sURL + '"><span class="actxxsmall"><font color=white>' + ar[i].sName + '</font></span></a></td></tr>';
}
}
strIDs += '</table>'
return strIDs
}
//-->
</SCRIPT>



Kind Regards

Richardpixel
13-Oct-2005, 10:06 AM
Is it still necessary to make these changes as it appears to be a very standard feature on every other Actinic site that I have seen?

We have also just upgraded from V6 to V7 and the category list still does not appear. Is there something different we should be doing in V7?