Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Static HTML File Generation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jmccann
VP-CART New User

United Kingdom
131 Posts

Posted - June 29 2004 :  15:45:50  Show Profile  Visit jmccann's Homepage  Reply with Quote
I understand their is the default template file for generating Product Static pages; tmp_generate.htm.

But what is the template file that is used to generate the index.htm?

devshb
Senior Member

United Kingdom
1904 Posts

Posted - June 29 2004 :  17:08:00  Show Profile  Visit devshb's Homepage  Reply with Quote
there isn't one; it's all just done directly by the asp code in shopa_generatehtml.asp.

The key functions in there if you want to change the format of the index file are:

WriteIndexHeader
and
WriteIndexRecord


WriteIndexHeader is run once, and this is what creates all the html code up to just before it starts to add the product links.

WriteIndexRecord is run once for every product, and this is what creates each product link line.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on June 29 2004 17:10:15
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