PDA

View Full Version : Using more than one act_primary.htm


granthams
15-Dec-2003, 03:31 PM
Hi,

I am wishing to apply a separate primary template to each section I have on my site. I used act_primary.htm for the majority
of the site and used a new primary template (act_primary2.htm) for just one of my sections. The 2nd template is nearly the same as the 1st one apart from 1 image.
In my section overall layout I have chosen the act_primary2.htm template.

This is the link for the main template -
http://www.artdiscount.com/acatalog/Tyvek.html

This is the link for the section using act_primary2.htm -
http://www.artdiscount.com/acatalog/Royalty_Free_Images.html

Does anyone know of a way to get rid of the unwanted elements, i.e. the online store text and the text nav, which has crept into the second template to match the first (apart from the image)?

Many thanks in advance.

Granthams

Mike Hughes
15-Dec-2003, 07:01 PM
They look Ok to me.

Trying doing a cache refresh (ALT-refresh) or maybe be a bit more specific on what it is that's the problem.

Mike

granthams
16-Dec-2003, 08:06 AM
Sorry Mike,

I had to change the page back for a client to view it. I have put
the second link in the above post back to act_primary2.htm. I have managed to weed out some of the unwanted code but not all of it.

Please have a look at the links again

For some reason I am getting a second shopping cart and a
quick search and 3 horizontal lines.

Where are these coming from?

Thanks in advance

Granthams

Mike Hughes
16-Dec-2003, 08:16 AM
Looking at the 2nd template and seeing a "--->" before the 'Online catalogue > etc' bit I would guess that you've deleted the start of something that's commented out in the first template.

i.e.

a) <--- this is commented out --->

vs

b) this isn't commented out --->

Mike

granthams
16-Dec-2003, 08:45 AM
Thanks Mike.

I carefully studied the act_primary2.htm for half uncommented code and didn't find any. What I did find though is if you simply remove the code <!-- NETQUOTEVAR:HEADER --> everything works!

Thanks for your help Mike.

Regards

Granthams.