PDA

View Full Version : Moving the top section list?


Jamespaterson
19-Jan-2006, 10:40 AM
Hi

I would like to move the top section e.g.

Artist Materials > Oil Colour > Bob Ross Artist Materials & Books > Bob Ross Accessories

to the left of the page but can't for the life of me figure out how to do it. I've managed to get it to display the end link of page that is being shown by putting NETQUOTEVAR:PAGEHEADER in the space

Bob Ross Accessories

Here is the URL any help would be great
http://www.theartshop.co.uk/acatalog/Bob_Ross_Accessories.html

Thanks
James

wjcampbe
19-Jan-2006, 01:20 PM
Untested, but you could try commenting out this code in Act_ProductBody.html
<A NAME="sectiontop">
<DIV ALIGN="CENTER">
NETQUOTEVAR:PARENTSECTIONSTOP
</DIV>
<!-- NETQUOTEVAR:TOPLEVELSECTIONSTOP -->
NETQUOTEVAR:SECTIONLISTTOP
NETQUOTEVAR:TOPSECTIONSEPARATOR
NETQUOTEVAR:CARTERRORLISTXML
</A>

and place a copy of the same code (uncommented) in 'the space'.

Jamespaterson
19-Jan-2006, 03:08 PM
Hi

Thanks for the help and I now have a "left section" however how do I edit the size of the font and create a break inbetween each section e.g.

Artist Materials
> Oil Colour
> Bob Ross Artist Materials & Books


http://www.theartshop.co.uk/acatalog/Bob_Ross_Accessories.html

Thanks
James

wjcampbe
19-Jan-2006, 03:32 PM
Reducing the size of the font need a <span class="actxsmall"> before the code and a </span> after it - if actxsmall is not small enough, try actxxsmall.
getting a > to show, just needs one added into the code, though you might be better off using > (the escaped code for the same character).

Jamespaterson
19-Jan-2006, 03:49 PM
Hi

Im sure I'm being a bit thick but it doesn't seem to have done anything?

<span class="actxxsmall"><A NAME="sectiontop">

<DIV ALIGN="Left">
NETQUOTEVAR:PARENTSECTIONSTOP
</DIV>
<!-- NETQUOTEVAR:TOPLEVELSECTIONSTOP -->
NETQUOTEVAR:SECTIONLISTBOTTOM
NETQUOTEVAR:TOPSECTIONSEPARATOR
NETQUOTEVAR:CARTERRORLISTXML
</A></span><br>

Is this right?

Thanks
James

wjcampbe
19-Jan-2006, 07:06 PM
That's because the span tag is being superceded by the css settings on the <A> tag. Move the first span to after the <A> and the second one to just before the </A>

Jamespaterson
20-Jan-2006, 02:30 PM
Still no joy, looks just the same-

<A NAME="sectiontop"><span class="actxxsmall">

<DIV ALIGN="Left">
NETQUOTEVAR:PARENTSECTIONSTOP
</DIV>
<!-- NETQUOTEVAR:TOPLEVELSECTIONSTOP -->
NETQUOTEVAR:SECTIONLISTBOTTOM
NETQUOTEVAR:TOPSECTIONSEPARATOR
NETQUOTEVAR:CARTERRORLISTXML
</span></A>

Is this right?

Thanks
James

wjcampbe
20-Jan-2006, 04:09 PM
James,

Yes - what you did is done correctly, but when I look into it a bit more, I see that these NETQUOTEVARs are bringing in their own span tags which once again are superceding our efforts and are switching the font size back to actxsmall.

This is a little frustrating - let's see if I can find a workaround, or if someone else chan chime in with some additional help.

cdicken
23-Jan-2006, 08:23 AM
The template for the links in the 'Parent Section List' come from Act_ParentSectionsLink.html

You will see this code:
<A HREF="NETQUOTEVAR:SECTIONLINK"><SPAN CLASS="actxsmall"><I><B>NETQUOTEVAR:SECTIONNAME</B></I></SPAN></A>

You can see the 'span' class in this template which you might want to edit/remove.

Also look at Act_ParentSectionsThis.html (which is used for the name of the current section in the list:<SPAN CLASS="actxsmall"><B>NETQUOTEVAR:SECTIONNAME</B></SPAN>
Hope that helps.