PJ2006 Posted May 3, 2007 Share Posted May 3, 2007 Hi, I have a couple of questions. I have installed osCommerce successfully. I am now trying to change the Template. I have created a number of different template directories successfully. I did this a while ago, and have now come back to it. ! deleted the contents of Test and copied over Full which may be my problem, I thought I'd set up the Test directory myself so I just got rid of it, to start again - oops. :blush: I have tried making changes to sts_template.html as I thought this would change all the template files, but it didn't. (not really sure what this file is for then, in your doc section 3.1. it says that this file will change the look of the shop but I seemed to have to change the index.php.html file to change the look of the shop, changes to sts_template.html don't seem to be reflected anywhere). I have now changed the index.php.html - the changes are reflected fine in the live site. The problem is that I added my own header using your instructions, creating header.php.html, I added an extra row to the table above the catalog logo. I have two issues: 1) The background is orange and I don't seem to be able to change that in dreamweaver 2) My additional navigation bar and logo etc do not show, I did save images etc to the same template folder but it seems they can't be found. Do you know what I'm doing wrong. Many thanks Lotti Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted May 3, 2007 Author Share Posted May 3, 2007 Hi, I have a couple of questions. I have installed osCommerce successfully. I am now trying to change the Template. I have created a number of different template directories successfully. I did this a while ago, and have now come back to it. ! deleted the contents of Test and copied over Full which may be my problem, I thought I'd set up the Test directory myself so I just got rid of it, to start again - oops. :blush: I have tried making changes to sts_template.html as I thought this would change all the template files, but it didn't. (not really sure what this file is for then, in your doc section 3.1. it says that this file will change the look of the shop but I seemed to have to change the index.php.html file to change the look of the shop, changes to sts_template.html don't seem to be reflected anywhere). I have now changed the index.php.html - the changes are reflected fine in the live site. The problem is that I added my own header using your instructions, creating header.php.html, I added an extra row to the table above the catalog logo. I have two issues: 1) The background is orange and I don't seem to be able to change that in dreamweaver 2) My additional navigation bar and logo etc do not show, I did save images etc to the same template folder but it seems they can't be found. Do you know what I'm doing wrong. Many thanks Lotti I've managed to sort out the problems editing the index.php filed. I've sorted out the orange backgorund I still have the problem: 2) My additional navigation bar and logo etc do not show, I did save images etc to the same template folder but it seems they can't be found. Also where do I get rid of "This is the template index.php? Thanks Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted May 3, 2007 Author Share Posted May 3, 2007 I've managed to sort out the problems editing the index.php filed. I've sorted out the orange backgorund I still have the problem: 2) My additional navigation bar and logo etc do not show, I did save images etc to the same template folder but it seems they can't be found. Also where do I get rid of "This is the template index.php? Thanks I have found the place in the doc that explains how to get rid of "This is the template..." and done that successfully. I just have the images not appearing problem left if anyone can help. Thanks Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 3, 2007 Share Posted May 3, 2007 I have found the place in the doc that explains how to get rid of "This is the template..." and done that successfully. I just have the images not appearing problem left if anyone can help. Thanks This all has to do with how you coded the image paths within your HTML template, just like any other HTML web page. Check the image paths and correct them. As far as the sts_template.html page, it will be used as the default template if you have it set as so in the admin under the STS Default module. If you create a template to be used in place of a particular PHP script such as index.php.html, then each time the veiwer visits your index.php file, then the index.php.html page will be used instead of the the default template. All of the above is discussed in detail in the STS User Manual. 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.