avail1now Posted August 9, 2006 Share Posted August 9, 2006 scaphis, what is your question ? Quote cheers, Bridgette & Deano my contributions: tableless CSS template login form for STSresources: effective searching knowledge base how to: sandbox with Paypal IPN Link to comment Share on other sites More sharing options...
avail1now Posted August 9, 2006 Share Posted August 9, 2006 Hi,Can anyone tell me about How to change the appearance of $categorybox with STS 4.1 & infobox template contribution? Just like the demo: http://osc.template-help.com/10704/index.php Should i edit some code in categories.php, or somewhere i didn't know? Thanks in advance! Renepahey, while I am no fan of table layouts, The info box styling for the categories box in your link is as follows: 1. upload to your catalog/images the following files off that link: m13.gif, m14.gif, m15.gif, m16.gif 2. edit your includes/sts_templates/yourdefaulttemplate/boxes/infobox_header.php.html as follows: <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td><img src=/images/m13.gif width=4 height=28></td> <td bgcolor=#566268 width=203><span style="padding-left: 5px"></span><span class=ch5>$headertext</span></td> <td><img src=images/m14.gif width=4 height=28></td></tr> </table> 3. edit your includes/sts_templates/yourdefaulttemplate/boxes/infobox.php.html as follows: <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td height=4></td></tr> <tr><td colspan=3 valign=top><table cellspacing=0 cellpadding=0 width=203 align=center> <tr><td height=19 class=ch6><img src=/images/m15.gif width=8 height=5 align=absmiddle> <span class=ml3>$content</span></td></tr> <tr><td background=/images/m16.gif height=1></td></tr> <tr><td background=/images/m16.gif height=1></td></tr> <tr><td height=7></td></tr> </table> </td></tr> </table> be sure to copy the relevant css to your css stylesheet .ch5{ font-size: 10px; color: #FFFFFF; font-weight: bold; text-transform: uppercase; } .ch6{ padding-left: 5px; } .ml3{ font-size: 11px; color: #393939; text-decoration: none } let me how it go Quote cheers, Bridgette & Deano my contributions: tableless CSS template login form for STSresources: effective searching knowledge base how to: sandbox with Paypal IPN Link to comment Share on other sites More sharing options...
freakystreak Posted August 9, 2006 Share Posted August 9, 2006 Can anyone help?? I've got STS installed and need to get Dynamic Sitemap working alongside it. The admin works fine but when I try and view the sitemap via the shop it displays the top, bottom, left and right but the content is blank. I have searched the forums and tried the Dynamic Sitemap contribute forum but no one knew the answer. If anyone can help I would really be grateful. Quote Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
shmuel Posted August 9, 2006 Share Posted August 9, 2006 Hi I am using the Simple Template System (v4) and then went to install the category tabs with subtabs contribution. After installing and visiting the store I got this message: Warning: main(STS_RESTART_CAPTURE): failed to open stream: No such file or directory in /home/www/includes/modules/sts_inc/sts_user_code.php on line 27 Fatal error: main(): Failed opening required 'STS_RESTART_CAPTURE' (include_path='.:/usr/local/php4/share/pear') in /home/www/includes/modules/sts_inc/sts_user_code.php on line 27 This corresponds to this line in sts_user_code.php where I put the extra code: require (STS_RESTART_CAPTURE); Which is part of this code which the installation instruction said to put in: //BEGIN Categories Tabs $sts_block_name='categories_tabs'; require (STS_RESTART_CAPTURE); include_once(DIR_WS_INCLUDES . 'categories_tab.php'); require(STS_STOP_CAPTURE); $template['categories_tabs'] = strip_unwanted_tags($sts_block['categories_tabs'], 'categories_tabs'); //END Categories Tabs //BEGIN Sub-Categories Tabs $sts_block_name='categories_subtabs'; require (STS_RESTART_CAPTURE); include_once(DIR_WS_INCLUDES . 'categories_subtab.php'); require(STS_STOP_CAPTURE); $template['categories_subtabs'] = strip_unwanted_tags($sts_block['categories_subtabs'], 'categories_tabs'); //END Sub-Categories Tabs Has anyone got any ideas? Thanks Sam Quote Link to comment Share on other sites More sharing options...
Becki Posted August 9, 2006 Share Posted August 9, 2006 the upload/catalog folder in the STS V4.1 package lacked two files listed in the instructions, namely: includes/application_bottom.php , and includes/column_right.php. Bit it did include includes/classes/sts.phpI can see how that is confusing. You should be fine however with the two files from the clean install. Now go ahead and do: 1. upload revised sts.php class, sts_default.php module, headertags.php module and an instruction for style-depending-buttons , sts update Apr 14 2006 2. then make sure you make this change in includes/classes/sts.php , small typo in sts.php class on line 87, it is listed on the contribution page. Replace: $this->template_folder = $sts_template_folder[0]; with $this->template_folder = $template_folder_installed[$sts_template_folder]; 3. If your template is coming up for your catalog/index.php that is good news. now just make sure you set all the parameters correctly in admin > modules > sts set Default, index, and product Info as listed in this earlier post Good Luck Hi, I am quite confused now! First of all I did what it said in the constructions to move from 4.0.7 to 4.1: - Replace the following files with the ones provided in this release: - includes/modules/sts_inc/product_info.php - includes/modules/sts_inc/sts_column_left.php - includes/modules/sts_inc/sts_user_code.php - includes/modules/sts_inc/sts_display_output.php - includes/modules/sts_inc/sts_footer.php - includes/modules/sts/sts_product_info.php - includes/classes/sts.php - includes/application_bottom.php - includes/column_right.php - Delete the following file: - includes/modules/sts_inc/sts_column_right.php The template then worded when on page localhost/catalog, but as soon as I went to a category localhost/catalog/index.php..... the template didn't work, all i had was the product image/text on a white background. I then set up the admin modules as you said in the 'previous post link you gave' (they weere already the same) but no change. BTW i just have one template called 'index.php.html' in my test folder. I then copied over the revised sts.php class, sts_default.php module, headertags.php modules but then ...\catalog is completely empty, there is also 3 text documents with the revised files form the contrib page, am i supposed to carry out all the mods it explains? It doesn't say anywhere! I was hoping this was going to be easy :(( Any help please! Becki Quote Link to comment Share on other sites More sharing options...
Becki Posted August 9, 2006 Share Posted August 9, 2006 OK I did as I just said AND made the changes as specified in update.txt in the 14th april contribution, i can now get my template displayed in localhost\catalog as i could before but still no formatting/template on any other pages. It just seems as if it's not picking it up anywhere for those pages, the template is index.php.html which is specified in admin, but is it hard coded somewhere else that i have to change? Thank you Becki What are the other txt files button_addon and headertags.txt. Is the headertags just if you have HTC installed or just to use the stock headertags. I have css buttons in the stylesheet but i don't use them Quote Link to comment Share on other sites More sharing options...
avail1now Posted August 10, 2006 Share Posted August 10, 2006 OK I did as I just said AND made the changes as specified in update.txt in the 14th april contribution, i can now get my template displayed in localhost\catalog as i could before but still no formatting/template on any other pages. It just seems as if it's not picking it up anywhere for those pages, the template is index.php.html which is specified in admin, but is it hard coded somewhere else that i have to change? Thank you Becki What are the other txt files button_addon and headertags.txt. Is the headertags just if you have HTC installed or just to use the stock headertags. I have css buttons in the stylesheet but i don't use them Becki, 1. in includes/sts_templates/yourdefaultfolder, rename your template from index.php.html to sts_template.html 2. go to admin > modules > sts > Default > Default template file: sts_temlate.html 3. now test it. 4. Again make sure you have done the three steps I asked you to do in my prior post. how did it go? Quote cheers, Bridgette & Deano my contributions: tableless CSS template login form for STSresources: effective searching knowledge base how to: sandbox with Paypal IPN Link to comment Share on other sites More sharing options...
avail1now Posted August 10, 2006 Share Posted August 10, 2006 Hi I am using the Simple Template System (v4) and then went to install the category tabs with subtabs contribution. After installing and visiting the store I got this message: Warning: main(STS_RESTART_CAPTURE): failed to open stream: No such file or directory in /home/www/includes/modules/sts_inc/sts_user_code.php on line 27 Fatal error: main(): Failed opening required 'STS_RESTART_CAPTURE' (include_path='.:/usr/local/php4/share/pear') in /home/www/includes/modules/sts_inc/sts_user_code.php on line 27 This corresponds to this line in sts_user_code.php where I put the extra code: require (STS_RESTART_CAPTURE); Which is part of this code which the installation instruction said to put in: //BEGIN Categories Tabs $sts_block_name='categories_tabs'; require (STS_RESTART_CAPTURE); include_once(DIR_WS_INCLUDES . 'categories_tab.php'); require(STS_STOP_CAPTURE); $template['categories_tabs'] = strip_unwanted_tags($sts_block['categories_tabs'], 'categories_tabs'); //END Categories Tabs //BEGIN Sub-Categories Tabs $sts_block_name='categories_subtabs'; require (STS_RESTART_CAPTURE); include_once(DIR_WS_INCLUDES . 'categories_subtab.php'); require(STS_STOP_CAPTURE); $template['categories_subtabs'] = strip_unwanted_tags($sts_block['categories_subtabs'], 'categories_tabs'); //END Sub-Categories Tabs Has anyone got any ideas? Thanks Sam Sam,comment out both blocks and insert basic sts info box code as below $sts->start_capture(); include_once(DIR_WS_INCLUDES . 'categories_tab.php'); $sts->stop_capture('categories_tabs', 'box'); $template['categories_tabs'] = strip_unwanted_tags($sts_block['categories_tabs'], 'categories_tabs'); $sts->start_capture(); include_once(DIR_WS_INCLUDES . 'categories_subtab.php'); $sts->stop_capture('categories_subtabs', 'box'); $template['categories_subtabs'] = strip_unwanted_tags($sts_block['categories_subtabs'], 'categories_tabs'); if it still does not work, replace include_once() with require() Quote cheers, Bridgette & Deano my contributions: tableless CSS template login form for STSresources: effective searching knowledge base how to: sandbox with Paypal IPN Link to comment Share on other sites More sharing options...
Becki Posted August 10, 2006 Share Posted August 10, 2006 (edited) Becki, 1. in includes/sts_templates/yourdefaultfolder, rename your template from index.php.html to sts_template.html 2. go to admin > modules > sts > Default > Default template file: sts_temlate.html 3. now test it. 4. Again make sure you have done the three steps I asked you to do in my prior post. how did it go? Hi, I had done that after i'd posted actually and it made no difference again, still on ...\catalog the template is there, I actually found that on ...\shopping cart or similar it worked, just seems not to be working with index.php! I have open featured sets installed and wondered if that causes problem but then that still works on ...\catalog main page. Unless i've over written a file that was modded with the new sts ones. Any ideas? STS 4.0.1 doesn't change how the contib needs to set up does it, i don't need the main template in other folders or names as product_info.html or anything do I? Becki Is it worth reverting back to 4.0.7 backup if you could tell me the exact files to replace to get from 4.0.7 to 4.1 and start again? Edited August 10, 2006 by Becki Quote Link to comment Share on other sites More sharing options...
avail1now Posted August 10, 2006 Share Posted August 10, 2006 STS 4.0.1 doesn't change how the contib needs to set up does it ? not sure what you mean. i don't need the main template in other folders or names as product_info.html or anything do I? No all you need is just that one sts_template.html. In fact make sure that is the only file in your selected template folder for now. Is it worth reverting back to 4.0.7 backup if you could tell me the exact files to replace to get from 4.0.7 to 4.1 and start again? No, you can just retrace the install steps just to be sure. pm me a link to your catalog Quote cheers, Bridgette & Deano my contributions: tableless CSS template login form for STSresources: effective searching knowledge base how to: sandbox with Paypal IPN Link to comment Share on other sites More sharing options...
Becki Posted August 10, 2006 Share Posted August 10, 2006 Hi, I am running on local install so unfortunately i can't give you a link. But i thought i'd just summerise what i have actually done to try and get from 4.0.7 to 4.1 Uploaded these new files from 4.1 upload folder: - includes/modules/sts_inc/product_info.php - includes/modules/sts_inc/sts_column_left.php - includes/modules/sts_inc/sts_user_code.php - includes/modules/sts_inc/sts_display_output.php - includes/modules/sts_inc/sts_footer.php - includes/modules/sts/sts_product_info.php (from new folder) - includes/classes/sts.php (from new folder but now udated from 14th april contrib) - includes/application_bottom.php (from new folder) - includes/column_right.php - Delete the following file: - includes/modules/sts_inc/sts_column_right.php 1. upload revised sts.php class, sts_default.php module, headertags.php module and an instruction for style-depending-buttons , sts update Apr 14 2006 Did the mods that were outlined in upload.txt and headertags.txt from 14th april but NOT the button.txt. Uninstalled the modules and installed them in order default,index,products Thanks Becki I should just be able to have default installed shouldn't I with the one main template for the whole site? Quote Link to comment Share on other sites More sharing options...
brianstorm Posted August 10, 2006 Share Posted August 10, 2006 (edited) hi, i 've just installed sts4.1 on a nearly fresh install of ms2-- the only other mod is the fix for register_globals (and paypal ipn) and the result is that every page (catalog side) is blank below the bar with my account, cart, etc... I have tried searching for a solution but am not having much success today with the forum search... i believe its a fairly common problem but couldn't find many solutions.... does sts require a register_globals fix? there's nothing in my apache error logs... all advice apprecciated.... regards brian Edited August 10, 2006 by brianstorm Quote with ten thousand dollars we'll all be millionaires Link to comment Share on other sites More sharing options...
Shiker Posted August 10, 2006 Share Posted August 10, 2006 Hi all, Another problem with my STS v4.1 layout. When shopping_cart.php is displayed, my cart table is automatically surrounded with the infoboxes cart layout defined in infobox_shopping_cart_header.php.html and infobox_shopping_cart.php.html. infobox_shopping_cart_header.php.html and infobox_shopping_cart.php.html are files initialized in catalog/includes/sts_template/atelier/boxes with my own graphics, in order to display infobox cart template (placeholder $cartbox). I don't understand how this layout is triggered and displayed around my cart listing. Does anyone know how to delete that and only have the cart table defined in shopping_cart.php ? Thanks a lot for your help Jacques Quote Link to comment Share on other sites More sharing options...
shmuel Posted August 10, 2006 Share Posted August 10, 2006 Hi avail1now, Thanks for your help. I got it to work but I had to remove the following line: $template['categories_tabs'] = strip_unwanted_tags($sts_block['categories_tabs'], 'categories_tabs'); as it said there was an error. I did it just to see and it seems to be working fine now. Thanks Sam Sam,comment out both blocks and insert basic sts info box code as below $sts->start_capture(); include_once(DIR_WS_INCLUDES . 'categories_tab.php'); $sts->stop_capture('categories_tabs', 'box'); $template['categories_tabs'] = strip_unwanted_tags($sts_block['categories_tabs'], 'categories_tabs'); $sts->start_capture(); include_once(DIR_WS_INCLUDES . 'categories_subtab.php'); $sts->stop_capture('categories_subtabs', 'box'); $template['categories_subtabs'] = strip_unwanted_tags($sts_block['categories_subtabs'], 'categories_tabs'); if it still does not work, replace include_once() with require() Quote Link to comment Share on other sites More sharing options...
bkellum Posted August 11, 2006 Share Posted August 11, 2006 Hello STS users! STS v4.1 has been updated to STS v4.2. :D STS v4.2 is a User-Friendly Version of the Simple Template System (STS). Version 4.2 is the easiest template system to date for the osCommerce solution. STS has recently been ranked 5th among contribution downloads for osCommerce, passing BTS (Basic Template System). The Simple Template System (STS) has seen a lot of great changes over the years, changes for the better and has drawn a huge fan base. I hope that this version will continue that trend as well as bring in the novice who may have considered previous STS versions ?too taunting?. :blink: This update includes the "Footer? patch, as well as the "Product info module v1.0.6" and ?Index module v1.0.3? updates, integrated into one seamless install. We can all thank Chris (Rigadin2) for these fine updates! I have only taken these updates and bundled them into one seamless install package, along with easy to understand documentation and additional templates for your convenience. With the author's blessing, STS v4.2 is an official release of the Simple Template System. Why this new version 4.2? STS 4.1 has seen three major changes and a few bug fixes since its release back in April 2006. Without this update, in order to install a stable STS v4.1, new users would have to download four different files as well as make some additional changes to a few of the PHP files in their store. With version 4.2, installation is as simple as downloading this complete package and following the instructions toward one seamless installation. Instructions for manual installation are still available for those who have a heavily modified store. If you have kept up with all of the fixes mentioned in the support forum (this forum) as well as the patches and new modules uploaded onto the contribution site, then you already have version 4.2, without the updated documentation and additional templates of course. Main advantages of this version: -Integrated all bug fixes and updates to this fine contribution into one seamless package. -Updated the install text as well as the contribution?s documentation to make the installation and use of STS 4 more user-friendly. -Added a new ?blank? template with all of the required code for ease of use to create your own STS v4.2 templates from scratch. -Added install instructions for the ?Infobox Templates for STS? contribution as an STS4.2 add-on. STS 4.2, differences with STS 4.1: -Updated ?includes/modules/sts/sts_index.php? (Rigadin2, May 8, 2006, Index module v1.0.3 for STS4) -Updated ?includes/sts/sts_product_info.php (Rigadin2, June 5, 2006, Product info module v1.0.6) -Updated ?includes/footer.php? (Rigadin2, July 25, 2006 ?Footer Patch?) -Updated ?sts_templates? folder from both the ?clean_osc? and ?upload? folders (cleaned up discrepancies and remains from STS PLUS) -Bug fix: ?index.php_0.html? template for main page will now work as designed. -Added: A new module parameter to set in admin. You now have the choice to set STS to look for templates of parent categories. -Bug fix: The ?sts_product_info.php? module does not call the function sts_strip_content_tags anymore when using a content template, because there is nothing to take away from your content template. You can download it here: http://www.oscommerce.com/community/contributions,1524 Enjoy, 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...
Guest Posted August 11, 2006 Share Posted August 11, 2006 Hi all, Another problem with my STS v4.1 layout. When shopping_cart.php is displayed, my cart table is automatically surrounded with the infoboxes cart layout defined in infobox_shopping_cart_header.php.html and infobox_shopping_cart.php.html. infobox_shopping_cart_header.php.html and infobox_shopping_cart.php.html are files initialized in catalog/includes/sts_template/atelier/boxes with my own graphics, in order to display infobox cart template (placeholder $cartbox). I don't understand how this layout is triggered and displayed around my cart listing. Does anyone know how to delete that and only have the cart table defined in shopping_cart.php ? Thanks a lot for your help Jacques The problem is that the boxes class is also used to build parts of the shop that are not infoboxes. One example is the product listing, used in shopping cart, index and advanced search result pages. I propose here a patch that seems to correct the problem: in catalog/includes/classes/boxes.php, find the class productListingBox (it's the last one created) and change it back to the original code, which is: class productListingBox extends tableBox { function productListingBox($contents) { $this->table_parameters = 'class="productListing"'; $this->tableBox($contents, true); } Now you product listings should look better. - Rigadin Quote Link to comment Share on other sites More sharing options...
brianstorm Posted August 11, 2006 Share Posted August 11, 2006 Hello STS users! STS v4.1 has been updated to STS v4.2. :D http://www.oscommerce.com/community/contributions,1524 Enjoy, Bill Kellum does STS v4.2 require register globals to be on or is it just OScommerce? will the register_globals fix break STS v4.2? can anyone please advise me on this? thanks brian Quote with ten thousand dollars we'll all be millionaires Link to comment Share on other sites More sharing options...
bkellum Posted August 11, 2006 Share Posted August 11, 2006 does STS v4.2 require register globals to be on or is it just OScommerce? will the register_globals fix break STS v4.2? can anyone please advise me on this? thanks brian Brian, take a look at this: osCommerce has .htaccess files already in place in the (admin directory, for example). These files are in fact Apache server configuration files so they can do more than control access. Because they start with a dot, they do not appear on normal unix directory listings, so they are easy to miss. More information on what can be done in .htaccess (or the main Apache configuration files) is available online at www.apache.org Explanation of .htaccess in osCommerce The osCommerce .htaccess file in the catalog folder is as follows: # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # Fix certain PHP values (commented out by default to prevent errors occuring on certain servers) # The <IfModule container should be used to house these listings otherwise, if the PHP installation fails so will the web server. <IfModule mod_php4.c> #php_value session.use_trans_sid 0 php_value register_globals 1 </IfModule> NOTE: If the register_globals error does not go away after this section above is uncommented then uncomment the one line only like shown below for the error "register_globals is not enabled in php.ini ... Please enable it!" The "IfModule" directive for PHP doesn't work for all Apache servers (it depends on how PHP was installed). It is not needed if you know that your Apache installation will always include the PHP module. #<IfModule mod_php4.c> #php_value session.use_trans_sid 0 php_value register_globals 1 #</IfModule> # Add for oscommerce safe engine urls set to true in admin - uncomment to use if you get a blank page while clicking on any product links. # AcceptPathInfo On This appears to be a PHP server issue between you and your host provider. Try the fix above and see if it works for you. STS v4.2 has been designed to work under "default" conditions for a standard osCommerce store. 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...
Renepahey Posted August 12, 2006 Share Posted August 12, 2006 Thanks avail1now! Your article really helped me so much. can anyone tell me how to edit the layout of $content ? like showed following: http://osc.template-help.com/10700/index.php Thanks in advance! Quote Link to comment Share on other sites More sharing options...
bkellum Posted August 12, 2006 Share Posted August 12, 2006 STSv4.2 I have provided a separate download site for those who may only want the updated documentation. http://www.soundsgoodpro.com/stsv4_2.htm The above link provides PDF versions of the User Manual and Installation documents as well as the full download package for STSv4.2. :thumbsup: Enjoy, 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...
Becki Posted August 13, 2006 Share Posted August 13, 2006 STSv4.2 I have provided a separate download site for those who may only want the updated documentation. http://www.soundsgoodpro.com/stsv4_2.htm The above link provides PDF versions of the User Manual and Installation documents as well as the full download package for STSv4.2. :thumbsup: Enjoy, Bill Kellum Bill, Just like to say thankyou very much, if this kind of organisation and accumulation of bug fixes etc into new updates was done on other contribs it would be great!! I couldn't get from 4.0.7 to 4.1 for whatever reason but i started again and did as your instructions told, a seamless install!thasnk. 1 NOTE - column_right was not included in the update folder and modules\sts\sts_default is missing from the install instructions - there are two instances of sts\sts_product_info.php (just to let you know - no problem though) Thanks Becki Quote Link to comment Share on other sites More sharing options...
bkellum Posted August 14, 2006 Share Posted August 14, 2006 Bill, Just like to say thankyou very much, if this kind of organisation and accumulation of bug fixes etc into new updates was done on other contribs it would be great!! I couldn't get from 4.0.7 to 4.1 for whatever reason but i started again and did as your instructions told, a seamless install!thasnk. 1 NOTE - column_right was not included in the update folder and modules\sts\sts_default is missing from the install instructions - there are two instances of sts\sts_product_info.php (just to let you know - no problem though) Thanks Becki Thanks Becki for the comments. I had placed the "column_right.php" file in the "clean_osc" folder. It would not have hurt anything to place it in the "upload" folder as well. The "sts_product_info.php" is needed in both places. Thanks again for your kind words, 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...
Shiker Posted August 14, 2006 Share Posted August 14, 2006 The problem is that the boxes class is also used to build parts of the shop that are not infoboxes. One example is the product listing, used in shopping cart, index and advanced search result pages. I propose here a patch that seems to correct the problem: in catalog/includes/classes/boxes.php, find the class productListingBox (it's the last one created) and change it back to the original code, which is: class productListingBox extends tableBox { function productListingBox($contents) { $this->table_parameters = 'class="productListing"'; $this->tableBox($contents, true); } Now you product listings should look better. - Rigadin I modified the source code with that and now my layout is fine. I appreciate a lot the support you provide to people who are not expert like me. Thank you very much for your precious help. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 14, 2006 Share Posted August 14, 2006 I have started a new contribution called STS4 Power Pack where you can find instructions and files to integrate other contributions into STS4. For now, you can find instructions for the following contributions: [207] Header Tags Controller [1310] Ez new fields [1681] Master Products Feel free to add you own tricks there! - Rigadin Quote Link to comment Share on other sites More sharing options...
Becki Posted August 14, 2006 Share Posted August 14, 2006 Hi Bill, I meant that the .../sts/sts_ptoduct_info.php (look below - copied from the installation file) was in the instructions twice, i presume one is supposed to be default.php? I hope so or else mine is working when it shouldn't!! ? catalog/includes/modules/sts/sts_index.php? catalog/includes/modules/sts/sts_product_info.php ? catalog/includes/modules/sts_inc/product_info.php ? catalog/includes/modules/sts_inc/sts_column_left.php ? catalog/includes/modules/sts_inc/sts_user_code.php ? catalog/includes/modules/sts_inc/sts_display_output.php ? catalog/includes/modules/sts_inc/sts_footer.php ? catalog/includes/modules/sts/sts_product_info.php ? catalog/includes/classes/sts.php ? catalog/includes/column_right.php Rigadin - thanks very much for that powerpack, for non expert people like me that is exactly what we want :) One question is which version of HTC would you use, i had picked 2.5.9 but then see there is a 2.5.9.1 and then ever more fixes after that, that's why's bill's pack of v4.2 is so handy. Thanks everyone Becki 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.