leolimasa Posted September 5, 2006 Share Posted September 5, 2006 Hello all, I have set up sts template system successfuly on my server. I wrote a simple sts_template.html file that looks like this: <html> <body> <p>test page</p> </body> </html> When I turn "use template" to "true" it works great, but only on Opera browser. Firefox and Internet Explorer just display a blank screen. Tried looking at the page source, and its blank too. I tried everything i could imagine, from looking at apache logs to telnetting to my server and making the HTTP request myself. The server sends the HTML back as it should, but somehow IE and Firefox cannot display it, only Opera. And it only happens when "use templates" is set to "true". The regular OsCommerce without sts template enabled works fine. Does anyone have any ideas on what is going on here? best regards, Quote Link to comment Share on other sites More sharing options...
bkellum Posted September 7, 2006 Share Posted September 7, 2006 Hello all, I have set up sts template system successfuly on my server. I wrote a simple sts_template.html file that looks like this: <html> <body> <p>test page</p> </body> </html> When I turn "use template" to "true" it works great, but only on Opera browser. Firefox and Internet Explorer just display a blank screen. Tried looking at the page source, and its blank too. I tried everything i could imagine, from looking at apache logs to telnetting to my server and making the HTTP request myself. The server sends the HTML back as it should, but somehow IE and Firefox cannot display it, only Opera. And it only happens when "use templates" is set to "true". The regular OsCommerce without sts template enabled works fine. Does anyone have any ideas on what is going on here? best regards, You need to have at least the following: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html $htmlparams> <head> <meta http-equiv="Content-Language" content="en-us"> <!--$headcontent--> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body> <p>This is a blank template. Replace this text with your content. Enjoy! Template by: Bill Kellum</p> </body> </html> You are missing the above lines in your template to make it work. Hope this helps, Bill Kellum Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.