VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Why aren''t my templates from 4.5 working for 5.0
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

20 Posts

Posted - April 07 2004 :  11:46:32  Show Profile  Visit Alina's Homepage  Reply with Quote
This is a page that uses my tmp_product.htm - which is displays fine:

When you click the hoodie - you are supposed to go to a page that uses a template file called closeup.html as a template - these files are unmodified from 4.5 and are working fine on my live 4.5 site.

After clicking the hoodie - the url changes to include &template=closeup.html - but you remain on the original page, closeup.html is not being used

In my product's table I have this .. Extended description page: closeup.html

is there something new in 5.0 that I am missing

Starting Member

20 Posts

Posted - April 07 2004 :  15:29:06  Show Profile  Visit Alina's Homepage  Reply with Quote
support got back to me on this one

The template file needs the .htm file extension instead of .html.

This check is performed for security reasons so that hackers cannot read non html files on your system.

Radek Rekas
VP-ASP Support

I changed all my template files to htm 's and all the link referancees to htm 's and it works now :)

I would have never thought of that

Go to Top of Page

Senior Member

United Kingdom
1898 Posts

Posted - April 07 2004 :  17:04:18  Show Profile  Visit devshb's Homepage  Reply with Quote
blimey; how obscure; that would have had me stumped for ages.
Many thanks for posting that reply; it's definitely something that I'll now watch out for.

Simon Barnaby
Freelance Developer
Java-E UK
[email protected]
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000