Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 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  

Alina
Starting Member

Canada
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:
http://www.canadianclothing.ca/velocity_cart/shopexd.asp?id=139

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

Alina
Starting Member

Canada
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
quote:
Hi,

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

devshb
Senior Member

United Kingdom
1904 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.
thank-you

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
0 Item(s)
$0.00