akkinmore Posted December 5, 2003 Share Posted December 5, 2003 Hi I have just installed STS and everything is working perfectly except the "top>>category>>..." has turned from bold text to normal text. Can anyone tell me how to change to bold? Thanks. :rolleyes: Quote Link to comment Share on other sites More sharing options...
ozcsys Posted December 5, 2003 Share Posted December 5, 2003 i just couldn't read 43 pages so i'm posting this simple questioni'm new to php and all that so please excuse me... i've had custom header on before i installed STS but now it changed back to the oscommerce.gif(i still have it the folder) where do i need to change so i can have my header back on TIA I had the same problem and all I did was replace the $cataloglogo in the template with the html code linking to my logo. If you are not familar with how to do that it should look something like this: <img src="/catalog/images/stationmaglogo.gif" alt="Station Magazines Logo"> Hope that helps Richard Quote The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 6, 2003 Share Posted December 6, 2003 My Webpage Well, I was able to figure it out on my own. In case anyone else has the same problem, here's what was missing (this specifically worked for the Purchase Without Account MOD, but it applies to others I'm sure). The following code is missing from the bottom of the file: <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> Hey Jack, I think this might help you out. I went over adding this code snippet for the umpteenth time and finally got one section to work. From there is was downhill. I've no idea what I was doing wrong all those other times but it is working now. Just wanted to say thank you. I never would have got to this point without your help. :D Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted December 6, 2003 Share Posted December 6, 2003 "Simply the Best Template System" might be a better name for this contribution. I'm a BIG fan. This template system allowed me more CSS control over page layout than I was able to achieve with any other methods. As many of you know, the net community is moving to page layouts controlled by CSS. Browser support is starting to improve. Because of the way that osCommerce is structured, gaining control over the way tables are created is quite a task. I'm not suggesting that STS has solved all my problems with making a CSS-based design a reality within the confines of osCommerce, but it made a few things quite a bit easier. I would not start a new osCommerce project without installing this contribution first. The system for adding pages to the framework of osCommerce that is provided by STS 1.8 is overkill unless you need sections of your shop to look completely different than the main template. The shop's navigational continuity should remain your highest priority in its layout. Complete look-and-feel changes to the layout of a conventional store for seperate areas should be avoided. In my most recent osCommerce project, I preferred adding pages manually. To do so I followed this path: add the new file to the root of the store add the breadcrumb's filename to includes/filenames.php add the breadcrumb file in includes/languages/english/new_file.php hard code a link to the new file within the main includes/sts_template.html file This tedious method should reduce the amount of hard-coding needed in the future and make your site a bit more dynamic. Each new file I create will work with my site's breadcrumb schema as I have added a new breadcrumb in the two corresponding files above. Each new file that I create has the standard includes (header.php, column_left.php, column_right.php, and footer.php) that are propagated by the STS. Therefore, I only have to change the content area to the actual new file, the template's layout will remain elsewhere on the page. My main gripe with osCommerce is the difficult-to-control method of table creation. Gaining control over individual infoBoxes is difficult enough, but actually controlling the tables created all over the site is beyond me. This type of application must rely on building-block organization to dynamically generate the site...I would simply like to have greater control over this method. Thanks for the best contribution I've used, Graham Quote Link to comment Share on other sites More sharing options...
akkinmore Posted December 7, 2003 Share Posted December 7, 2003 Hi, Did anybody install STS v1.8 and header tags controller? When I installed header tags controller to my web pages I got blank screen on my index.php page. I do not know why but I think STS v1.8 is the main cause? Anybody would like to share your experience? Thanks in advance? :rolleyes: Quote Link to comment Share on other sites More sharing options...
Guest Posted December 7, 2003 Share Posted December 7, 2003 Can someone, anyone PLEASE tell me how I can get the specials box to work with this contribution?????? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 7, 2003 Share Posted December 7, 2003 Hi,Did anybody install STS v1.8 and header tags controller? When I installed header tags controller to my web pages I got blank screen on my index.php page. I do not know why but I think STS v1.8 is the main cause? Anybody would like to share your experience? Thanks in advance? :rolleyes: Take a look at my earlier post in this thread. The problem is that you have to add the shown code to your index.php (and any others that are not showing). Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
hiredpen Posted December 7, 2003 Share Posted December 7, 2003 Is it possible to use this product with 2.2 CVS ??? Please reply soon. Thanx Quote Link to comment Share on other sites More sharing options...
hiredpen Posted December 7, 2003 Share Posted December 7, 2003 Is this product compatible with oscommerce 2.2-CVS ?? Pls reply quickly. Thanx Quote Link to comment Share on other sites More sharing options...
Psyx Posted December 8, 2003 Share Posted December 8, 2003 I just installed osCommerce 2.2 and STS 1.8. Everything seems fine except that after installing STS, every page ends with "</". I don't see these characters in sts_template.html or footer.php files. Can anyone help? Hi there... I seem to be having the same problem with the "</" thing showing up at the end of each page. By viewing source, it is clear that for some reason the </html> tag is not rendering correctly and in the source there is a only the </ part of it! I deleted the </html> tag (just to check) and it then does the same to the previous tag, which is </body>, giving a </. Did the same with the body tag and it keeps going on and on... :( Does anyone else have this problem? I have installed a fresh copy of osCommerce 2.2ms2 and STS 1.8. Quote Link to comment Share on other sites More sharing options...
akkinmore Posted December 8, 2003 Share Posted December 8, 2003 Hi,Did anybody install STS v1.8 and header tags controller? When I installed header tags controller to my web pages I got blank screen on my index.php page. I do not know why but I think STS v1.8 is the main cause? Anybody would like to share your experience? Thanks in advance? :rolleyes: Take a look at my earlier post in this thread. The problem is that you have to add the shown code to your index.php (and any others that are not showing). Jack Hi May be I have missed it, I can't find any solution mentioned in this thread. Can you show me how to locate it. What do you mean by shown code? Thanks in advanced. :rolleyes: Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 8, 2003 Share Posted December 8, 2003 Take a look at my earlier post in this thread. The problem is that you have to add the shown code to your index.php (and any others that are not showing). May be I have missed it, I can't find any solution mentioned in this thread. Can you show me how to locate it. What do you mean by shown code? NP. From page 44 of this thread here's a copy of the "shown code" that was supplied to me to fix the same problem. I have mine before the line that reads "require(DIR_WS_INCLUDES . 'footer.php'); ." Although I think as long as it is before the final ?> it will work (haven't tested this though). <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 8, 2003 Share Posted December 8, 2003 When I click on one of the items in ManufacturersBox, I'm taken to the advanced search page. Does anyone know why this is happening? Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2003 Share Posted December 8, 2003 Does anybody use the PhpBB contrib with STS ? cause i cant get it to work & help would be appreciated.THxx Quote Link to comment Share on other sites More sharing options...
_pleb Posted December 8, 2003 Share Posted December 8, 2003 Installing the Header tag controller and STS 1.8 seems to be problematic, at least for me. Having installed both contributions, when viewing any page, I got this error: Fatal error: Cannot redeclare clean_html_comments() (previously declared in c:\phpdev\www\2\includes\functions\clean_html_comments.php:13) in c:\phpdev\www\2\includes\functions\clean_html_comments.php on line 13 Which seems to be because the application_top and sts_display_output are both requiring the same files. Commenting out either group appears to fix that, however, it gives rise to another problem, which is this: Fatal error: Call to a member function on a non-object in c:\phpdev\www\2\includes\sts_display_output.php on line 189 and line 189 is: if ($messageStack->size('header') > 0) { $template['content'] = $messageStack->output('header') . $template['content']; } Can anyone help me figure out why this is? (running on a local machine [win32, apache 1.3, php 4.23]) Everything else seems to work locally, so I can only assume its a problem with the combination of the two. Quote Link to comment Share on other sites More sharing options...
SevenD Posted December 8, 2003 Share Posted December 8, 2003 Hi! You can download my osCommerce Theme from 7dana.com . This is a complete template with STS 1.8 system included. Just copy theme files in correspondent folders and edit config.php(readme.txt included). :rolleyes: Quote _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ (\__/) (O.o ) (> < ) Link to comment Share on other sites More sharing options...
DiamondSea Posted December 8, 2003 Author Share Posted December 8, 2003 Installing the Header tag controller and STS 1.8 seems to be problematic, at least for me. Having installed both contributions, when viewing any page, I got this error:Fatal error: Cannot redeclare clean_html_comments() (previously declared in c:\phpdev\www\2\includes\functions\clean_html_comments.php:13) in c:\phpdev\www\2\includes\functions\clean_html_comments.php on line 13 Which seems to be because the application_top and sts_display_output are both requiring the same files. Commenting out either group appears to fix that, however, it gives rise to another problem, which is this: Fatal error: Call to a member function on a non-object in c:\phpdev\www\2\includes\sts_display_output.php on line 189 and line 189 is: if ($messageStack->size('header') > 0) { $template['content'] = $messageStack->output('header') . $template['content']; } Can anyone help me figure out why this is? (running on a local machine [win32, apache 1.3, php 4.23]) Everything else seems to work locally, so I can only assume its a problem with the combination of the two. The header tag controller is already integrated into STS. If you want to use it, just copy it's files into the appropriate places, but DO NOT MODIFY the files in /catalog/ as the lines you would normally update are already built into STS. Check the STS README.txt file for details. - Brian Quote Simple Template System (STS) Layout your site with 1 (or more) HTML file! Download STS: http://www.oscommerce.com/community/contributions,1524 Support: http://www.oscommerce.com/forums/index.php?showtopic=58541 Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 8, 2003 Share Posted December 8, 2003 I just noticed, after installing STS 1.8 and using it for a few days, that when I log in to a test account, the message that reads "Hello Guest..." should change to "Welcome back..." but it doesn't. I am logged in but that message doesn't show it. If I back out STS it works. Anyone know how to fix this? You can see what I mean at MY SITE. I have both template and normal mode enabled. The template is at the top. Log in with [email protected] and passme (to save having to create a new account) if you want to see what I mean. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Psyx Posted December 8, 2003 Share Posted December 8, 2003 DiamondSea, could you please look into the problem that me and randallemery (http://www.oscommerce.com/forums/index.php?showtopic=58541&st=430) have? here's my previous post... i am unable to track this down, have tried everything for 2 weeks :( I seem to be having the same problem with the "</" thing showing up at the end of each page. By viewing source, it is clear that for some reason the </html> tag is not rendering correctly and in the source there is a only the </ part of it! I deleted the </html> tag (just to check) and it then does the same to the previous tag, which is </body>, giving a </. Did the same with the body tag and it keeps going on and on... Does anyone else have this problem? I have installed a fresh copy of osCommerce 2.2ms2 and STS 1.8. you can see an example of what i am talking about here : http://www.plastona.com/test/store/index.php it's a fresh osCommerce 2.2ms2 install, plus STS 1.8... thank you for your time :) Quote Link to comment Share on other sites More sharing options...
mjhaston Posted December 9, 2003 Share Posted December 9, 2003 (edited) Is this product compatible with oscommerce 2.2-CVS ?? Pls reply quickly. Thanx Easy there bro, if someone doesn't reply in 5 minutes you should wait to post the same exact question :) I installed STS over a clean copy of 2.2 and got it running in about 10 minutes. I'm digging this. Granted my cart isn't spectacular, but I'm just testing it out. STS should make modification so much easier for a so-so design guy like me. I'm hoping I can do the same with some high-end templates I sell. My test: http://www.cheapwebsolutions.com/phpDemos/...talog/index.php Edited December 9, 2003 by mjhaston Quote Link to comment Share on other sites More sharing options...
_pleb Posted December 9, 2003 Share Posted December 9, 2003 The header tag controller is already integrated into STS. If you want to use it, just copy it's files into the appropriate places, but DO NOT MODIFY the files in /catalog/ as the lines you would normally update are already built into STS. Check the STS README.txt file for details. As I said in my previous post, I commented out the calls to the function from application_top, thus 'uninstalling' it and leaving everything up to STS, but I still appear to get the error mentioned: Fatal error: Call to a member function on a non-object in c:\phpdev\www\2\includes\sts_display_output.php on line 189 Can you suggest why this might be? The sts_display_output file is brand spanking new from the 1.8 archive. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 9, 2003 Share Posted December 9, 2003 I found that the problem with my login statement not being update correctly was in how I was linking to it in STS. So now the problem is that I would like the greeting message to appear near the top of my page. What I need to do this is to insert <td class="main"><?php echo tep_customer_greeting(); ?></td> but STS apparently doesn't work with php. Is there a way around this or am I doing it wrong? Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted December 9, 2003 Share Posted December 9, 2003 STILL HAVE NO CLUE WHY I CANT GET ANY FORUM CONTRIB. TO WORK WITH STS !!! After spending one week on searching for what was wrong with the phpBB contrib and not finding anything, i decided to look for a simpler forum contrib wich i may get to work easier.I was wrong the other contrib i tried :OSC_Forums dont get along with sts neither, am i really the only one round here who's trying tyo implement a sts-using OSC with a forum contrib ,in case (wich i'm pretty sure) i am not can someone please tell me how he done ? PS: Sorry for my poor english , as you can see this aint my native tongue. Quote Link to comment Share on other sites More sharing options...
akkinmore Posted December 9, 2003 Share Posted December 9, 2003 Hi After working with STS for awhile, I have another problem. This a common problem and some of you might be interested to know. How to make STS and coolmenu work together??? My info box for categories is blank!!! When I deactivate STS, the coolmenu works in some degree. Can anybody know how to solve this problem? Thanks. :rolleyes: Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 9, 2003 Share Posted December 9, 2003 What I need to do this is to insert <td class="main"><?php echo tep_customer_greeting(); ?></td> but STS apparently doesn't work with php. Is there a way around this or am I doing it wrong? Never mind. I realized after I posted this that I needed to create my own template. Did that and it's working fine now. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons 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.