PDA

View Full Version : sub-level section list display NETQUOTEVAR?


BitChar-G UK
26-Mar-2003, 03:38 PM
Hi,
I'm re-doing my store front using a modified clean template 'layout14' which displays the top-level section list down the left.

I have been trying for days to get it to display the sub-level section list below it when I go down a level although I can't get it to display anything.. I've seen there are different NETQUOTEVAR variables available (they're listed in the Act_Primary template file)

eg:

NETQUOTEVAR:TOPLEVELSECTIONS_RAW
NETQUOTEVAR:CHILDSECTIONS_RAW
NETQUOTEVAR:SECTIONTREE_RAW

But I can't get anything to appear...

Can anyone offer any help? Eternally greatful.

Thanks,
Martin

cdicken
28-Mar-2003, 08:08 AM
Check out the Advanced User Guide - this will tell you how you can put a section and sub-section list into the HTML using these NETQUOTEVARs.

These NETQUOTEVARs create a JavaScript array containing all the sections and sub-sections in the store. You can then use JavaScript expressions (copied from the AUG) to display this information in the HTML of your store.

BitChar-G UK
28-Mar-2003, 08:15 AM
I can't get any of the JavaScript in the AUG to work - they keep throwing up an error. I tried doing drop-down boxes and the rest and all of them don't display on the page but it says 'done but with errors'. When I remove the JavaScript code the page displays but with no error (and of course no dropdowns).

I spent hours trying to get it to work - but to no avail.

Thanks for the feedback though.

Cheers,
Martin

cdicken
28-Mar-2003, 08:29 AM
Ensure you past the code into the <HEAD> section underneath the line that reads:

<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>

Also, copy the code from the very latest one on the website - and copy it from the Word doc as PDFs are never great to get code from.

BitChar-G UK
28-Mar-2003, 08:40 AM
Hi,
Thanks for the prompt reply - I'll do a quick test in a while and let you know how I got on.. I don't think I was placing the script under

<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>


Cheers,
Martin

BitChar-G UK
28-Mar-2003, 09:02 AM
It works!!

Thanks for that - most helpful.


Cheers,
Martin