||NeX|| Posted May 19, 2007 Share Posted May 19, 2007 I couldn't read the whole topic, so sorry if the question is repeated. How do I control the colors in the template? Through the OS CSS file or do I have to create a STS CSS file? Is there any other tutorial then the official? Video tutorial maybe? Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 19, 2007 Share Posted May 19, 2007 Re: Blank "all products" page when using STS/HTC. I resolved my problem of a blank all products page by editing catalog/includes/header_tags.php: - changed require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); - to require_once(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); Does this sound OK? Something similar was suggested in the installation docs for HTC - although I was using your STS/HTC bundle. In the HTC docs, it suggested a similar edit - but to a different file (sts_display_output.php). Thanks. Mark, I answered your post in the All Products Forum regarding this.http://www.oscommerce.com/forums/index.php?s=&...t&p=1077926 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...
bkellum Posted May 19, 2007 Share Posted May 19, 2007 I couldn't read the whole topic, so sorry if the question is repeated. How do I control the colors in the template? Through the OS CSS file or do I have to create a STS CSS file? Is there any other tutorial then the official? Video tutorial maybe? Either through the stock osC stylesheet or template specific ones that you create. Up to you really. 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...
Stewart Gilray Posted May 20, 2007 Share Posted May 20, 2007 Hi, I need a spot of help, I'm doing a newer store for one of my existing clients, and I want to totally remove all signs of "infoboxes" IE not only no headings, no borders, no different css backgrounds etc. Also for the categories I want to have a simple text list of the different ones, IE ... Clothing DVDs CDs The formatting is to be left to a separate <div> I have setup for a left handside column. Help!? Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 21, 2007 Share Posted May 21, 2007 Hi,I need a spot of help, I'm doing a newer store for one of my existing clients, and I want to totally remove all signs of "infoboxes" IE not only no headings, no borders, no different css backgrounds etc. Also for the categories I want to have a simple text list of the different ones, IE ... Clothing DVDs CDs The formatting is to be left to a separate <div> I have setup for a left handside column. Help!? What have you tried already? You could try making an infobox template and remove the tables. You will also need to modify the stylesheet as well. 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...
MatthewRitchie Posted May 21, 2007 Share Posted May 21, 2007 (edited) error on index.php page: Template file does not exist: [MODULE_STS_TEMPLATES_FOLDERfull/sts_template.html] This is on a new osc install, with only the sts & htc bundle added; on home development server. sts module in Admin is pointing to the folder sts_templates/full and all files are untouched. default, index and product info (*2) loaded with: Files for normal template sts_user_code.php;headertags.php popup template: false database previously populated with htc additions. also default --> edit shows two input text boxes after Files for normal template Files to include for a normal template, separated by semicolon __________________ |_________________| __________________ |_________________| <-- ? mjr "pictorial example" what have i done wrong? Edited May 21, 2007 by MatthewRitchie Quote Link to comment Share on other sites More sharing options...
MatthewRitchie Posted May 21, 2007 Share Posted May 21, 2007 Permissions settings for the C:/Program Files/Apache Group/Apache2/htdocs/catalog/includes/header_tags.php file appear to be incorrect. Change to 777 Permissions settings for the C:/Program Files/Apache Group/Apache2/htdocs/catalog/includes/languages/english/header_tags.php file appear to be incorrect. Change to 777 in admin -> header tags i believe to do this on a windows platform you right click - properties - checkbox for read only or leave all boxes unchecked? this is the blurb from somewhere else, cant remember where i copied it from: SETTING PERMISSIONS: 4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup. 6. After the install create a folder called 'backups' inside the 'admin' folder (via FTP), and delete the install folder. Reset permissions on the two configure.php files. The easiest way to reset file permissions is to use the File Manager within your Web Hosting Control Panel. How this works exactly differs according to which control panel your hosting company provides e.g. Ensim, cPanel, Plesk etc. Q - at the localhost so how should i reset file permission?? On a local install you just go to the file itself, right-click, select Properties, and tick the Read Only box. Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 21, 2007 Share Posted May 21, 2007 Matt, please ask all questions relating to HTC (Header Tags Controller) over at the HTC forum so as we do not confuse those who are not using HTC. Here is the link to the HTC forum where you will find the answer to your permission issues: http://www.oscommerce.com/forums/index.php?s=&...t&p=1078549 Hope this helped, 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...
bkellum Posted May 21, 2007 Share Posted May 21, 2007 error on index.php page: Template file does not exist: [MODULE_STS_TEMPLATES_FOLDERfull/sts_template.html] This is on a new osc install, with only the sts & htc bundle added; on home development server. sts module in Admin is pointing to the folder sts_templates/full and all files are untouched. default, index and product info (*2) loaded with: Files for normal template sts_user_code.php;headertags.php popup template: false database previously populated with htc additions. also default --> edit shows two input text boxes after Files for normal template Files to include for a normal template, separated by semicolon __________________ |_________________| __________________ |_________________| <-- ? mjr "pictorial example" what have i done wrong? Matt, you either customized the STS install in a way that the folder structure from the contribution was changed or you have some path errors in your configure.php files (nothing to do with STS but may be the cause of your osC problems). In most cases when someone gets an error like you are getting, it is one of the following reasons: STS was not properly installed. STS modules not properly configured as per the installation instructions. STS modules are caught in a cache "loop" and need to be uninstalled and then reinstalled again. Hope this helped, 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...
ScubaDave Posted May 22, 2007 Share Posted May 22, 2007 is there anyone interested in applying this mod to my site? and how much would you want .http://www.centerformanifestation.com/index-1.html Dave Quote Link to comment Share on other sites More sharing options...
MatthewRitchie Posted May 22, 2007 Share Posted May 22, 2007 (edited) is there anyone interested in applying this mod to my site? and how much would you want .http://www.centerformanifestation.com/index-1.htmlDave Hi dave, sts is easy to do and it makes all the design layout real easy. just download either/or sts on its own http://www.oscommerce.com/community/contributions,1524 sts + header tags --- 'STS4 Power Pack' http://www.oscommerce.com/community/contributions,4456 they both have full instructions to get going, 10minutes id say. unless you do something like me above! you might also like sts loaded with dynamenu Dynamenu & STSv42 Jan 2007 .m. Edited May 22, 2007 by MatthewRitchie Quote Link to comment Share on other sites More sharing options...
Stewart Gilray Posted May 22, 2007 Share Posted May 22, 2007 What have you tried already? You could try making an infobox template and remove the tables. You will also need to modify the stylesheet as well. Well that is partly my question, what format would I use for an infobox template?! I've tried looking around for a list of tags to use in one, or indeed an example one, but to no avail... I gather I'm just not looking in the right place. As for what have I tried so far, in one of your tricks n tips pdf's it mentioned about setting some of the structures to false, instead of the default true. Which I've done for the "top" banner of a box. But I literally want to remove ALL formatting for infobox's so that it's done via css using <div> etc. Cheers. Quote Link to comment Share on other sites More sharing options...
Pseudonym_l33t Posted May 23, 2007 Share Posted May 23, 2007 Hi there. I have a problem, and although I'm sure it's been asked (and answered) before, none of my search attempts have brought anything up... I have a section of HTML code in the main sts_template.html file that I want to run on some pages, but not others. I expected to be able to set a $output_my_html flag in the php page, then insert some code into the template like this: <? if (isset($output_my_html) && $output_my_html) { ?> THIS IS MY HTML TEXT <? } ?> But that doesn't seem to work. The IF statement is fine, but it doesn't seem to be able to read my variable. Can anyone help, please? Quote Link to comment Share on other sites More sharing options...
||NeX|| Posted May 26, 2007 Share Posted May 26, 2007 Where can I download a simple STS template just to see how it's made? Quote Link to comment Share on other sites More sharing options...
MatthewRitchie Posted May 26, 2007 Share Posted May 26, 2007 (edited) finally ive had some sucess!!!!! my first contrib will be: STS_MEGA_POWER_PACK_BUNDLE parts 1 & 2 .zip/s part 2 = modified files only, doccuments and development instructions. this bundels: register globals stsv4.5.2 htc2.6.3 dynamenu i have also included instructions/tutorials of what i have done and the relevant documentation for each of the components. http://www.oscommerce.com/community/contributions,4456 topic: http://www.oscommerce.com/forums/index.php?sho...p;#entry1078422 matt Edited May 26, 2007 by MatthewRitchie Quote Link to comment Share on other sites More sharing options...
zyhit007 Posted May 27, 2007 Share Posted May 27, 2007 Hi,I am a new one. I have brought a template from the monster company and I want to make some change to this templae. so I try to install the sts.Following the instructions carefully (Install Text.doc ) . I failed,when I open the admion panel there are errors: Warning: main(includes/classes/sts.php): failed to open stream: No such file or directory in f:\osc\easyphp1-8\www\osc\admin\includes\application_top.php on line 209 Fatal error: main(): Failed opening required 'includes/classes/sts.php' (include_path='.;F:/osc/EasyPHP1-8\php\pear\') in f:\osc\easyphp1-8\www\osc\admin\includes\application_top.php on line 209 but ,I have paste the sts.php to the right way. I have worked for this problem for several days and I am tired. can you help me? Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 27, 2007 Share Posted May 27, 2007 Hi,I am a new one.I have brought a template from the monster company and I want to make some change to this templae. so I try to install the sts.Following the instructions carefully (Install Text.doc ) . I failed,when I open the admion panel there are errors: Warning: main(includes/classes/sts.php): failed to open stream: No such file or directory in f:\osc\easyphp1-8\www\osc\admin\includes\application_top.php on line 209 Fatal error: main(): Failed opening required 'includes/classes/sts.php' (include_path='.;F:/osc/EasyPHP1-8\php\pear\') in f:\osc\easyphp1-8\www\osc\admin\includes\application_top.php on line 209 but ,I have paste the sts.php to the right way. I have worked for this problem for several days and I am tired. can you help me? Check your installation...again. :'( I know, it seems like you checked everything but the error that you are getting is really telling you that you missed a file or misplaced a file in the wrong folder during your installation. Best to use a file comparison tool such as Beyond Compare to check your shops files with those in the STS contribution files. 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...
bkellum Posted May 27, 2007 Share Posted May 27, 2007 Where can I download a simple STS template just to see how it's made? You can study the templates that are included with the contribution in the STS Templates folder. 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...
Guest Posted May 27, 2007 Share Posted May 27, 2007 Hi, I've installed the latest STS (v4.5.2) and am having some difficulties making a product_info template. I have tried making 1 file product_info.php.html to theme all of the product info pages and i also tried making a product_info.php_28_40.html and putting it in the /content directory (under sts) however neither of them had any affect on the product_info pages. I have enabled it in admin, but havnt changed any of the other settings. What have i missed? why doesnt it work? my main template is called sts_template.html and it is just using all the default content. Thanks for your help Kyle Quote Link to comment Share on other sites More sharing options...
||NeX|| Posted May 27, 2007 Share Posted May 27, 2007 You can study the templates that are included with the contribution in the STS Templates folder. What's the URL? Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 27, 2007 Share Posted May 27, 2007 What's the URL? No URL is needed. Look in the download files of the STSv4.5.2 contribution. Inside the sts_templates folder you should see several example templates provided. You will need to set the admin settings for the STS Modules in your osC shop (as per the installation instructions) in order to view the "live look" of these templates; otherwise, if you try to veiw them as a standalone HTML page you will only see the STS tags placed in the various locations within the template. Just to clarify, you can use ANY HTML document, and just place the STS tags and a few lines of code in the <HEAD> portion to make it a STS Template for osCommerce. Hope this helped, 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...
MatthewRitchie Posted May 27, 2007 Share Posted May 27, 2007 I have found a free template site and downloaded all of the different templates to play with. free to use as long as you keep the link intact or contribute a template and you can remove the link. http://www.webpagedesign.com.au/ download an example and plugin the sts variables '$catagories' etc where you want them and rename it sts_template.html to have it template every page. ive noticed there is some java script in some for the templates but this can be removed if necessary. matt Quote Link to comment Share on other sites More sharing options...
Guest Posted May 27, 2007 Share Posted May 27, 2007 Hi, I just installed OSC last night. I think it is just what I've been looking for. I installed STS this morning. I can't seem to get the template to work. It's great for editing, but when I go into admin and turn it on, it will not keep the true setting. Any help? Thanks. Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 28, 2007 Share Posted May 28, 2007 Hi,I just installed OSC last night. I think it is just what I've been looking for. I installed STS this morning. I can't seem to get the template to work. It's great for editing, but when I go into admin and turn it on, it will not keep the true setting. Any help? Thanks. This may be what you are needing: http://www.oscommerce.com/forums/index.php?s=&...t&p=1081650 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...
Guest Posted May 28, 2007 Share Posted May 28, 2007 Does anyone know why my product_info isnt being picked up? Quote 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.