Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Help on Alternate Headers and Footers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jayceew
VP-CART New User

USA
114 Posts

Posted - January 16 2006 :  11:31:03  Show Profile  Reply with Quote
Hi All,
I need to show different headers and trailers on some pages, but I can't seem to figure out how to do this. I copied the default.asp and renamed it new_boats.asp, and I want to be able to call a different header and trailer for just this page.Can anyone help me with this? I am a begginer , but catch on quick.

Thanks

Jack

craigsimons
Starting Member

Canada
8 Posts

Posted - January 16 2006 :  11:53:30  Show Profile  Visit craigsimons's Homepage  Reply with Quote
Well, I just did this yesterday for a new v6 install, so if you don't have that, you're mileage may vary. Anyways, I did the following:

in shoppageheaders.asp, there is a procedure (sub) called ShopPageHeader. Copy the entire function (to the first place you see 'end sub' and then paste it below. Call this sub 'ShopPageHeader_Default', or whatever you want to call it. Then edit the line in the sub that says

%>
<!-- #include file="shoppage_header.htm" -->
<%

change this to the template file you want to use.

Finally, in your default.asp, change the the line
<%shopPageHeader%>

to the name of the sub you just created. Repeat the process for the trailer templates if you like as well.

Edited by - craigsimons on January 16 2006 11:55:14
Go to Top of Page

jayceew
VP-CART New User

USA
114 Posts

Posted - January 16 2006 :  12:34:29  Show Profile  Reply with Quote
Hi Craig,
Thanks for the quick response. I can't find shoppageheaders.asp. I see shoppage_header.htm. Where do I find shoppageheaders.asp ? I pretty much understand the rest.

Thanks Again

Jack
Go to Top of Page

jayceew
VP-CART New User

USA
114 Posts

Posted - January 16 2006 :  12:36:06  Show Profile  Reply with Quote
Hi Craig,
I,m using ver. 6.6

Thanks Again, Again

Jack
Go to Top of Page

craigsimons
Starting Member

Canada
8 Posts

Posted - January 16 2006 :  12:40:55  Show Profile  Visit craigsimons's Homepage  Reply with Quote
Sorry Jay, I typo'd that one. It's actually shopheaders.asp, not shoppageheaders.asp.
Go to Top of Page

jayceew
VP-CART New User

USA
114 Posts

Posted - January 16 2006 :  13:47:28  Show Profile  Reply with Quote
Hi Craig,
Fantastic, Thanks so much. Don't know how I missed it.

Take Care

Jack
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00