Guest Posted July 1, 2004 Posted July 1, 2004 This is a support forum for a contrib I setup for inputting design to STS infoboxes any questions or ideas or tips&tricks to make this better for all then put em in here. This is the contribution: http://www.oscommerce.com/community/contributions,2224 I am working on modifying and also boxes in mainpage so any help is appreciated. :D Quote
Guest Posted July 1, 2004 Posted July 1, 2004 I will work on a new version soon which will include horizontal stretch also, the first verson is fixed width so you may have issues with reviews and notifications throwing the tables out. Quote
Guest Posted July 1, 2004 Posted July 1, 2004 I need help sorting out the centre tables and products to include a box any ideas or help appreciated. Quote
imo Posted July 4, 2004 Posted July 4, 2004 Hey j0ker, i'm having a problem with your mod. After following the instructions, I'm left with a "1" at the top of the category box on the left side and the cart on the right. It also leaves the border around the boxes intact. Help much appreciated. Quote
imo Posted July 4, 2004 Posted July 4, 2004 I'll PM you it, still haven't worked out my security issues. Quote
Xpress_pt Posted July 8, 2004 Posted July 8, 2004 Hi there, this is my first post here, been "dancing" around with osC and STS and now with your contrib, i've got the same problem as stated above, and i think the problem might be in your instructions text wich has : ................................................................................ .......... Optional Changes: 3) catalog/includes/boxes/categories.php - I did this because I didnt like the -> displayed in the infobox. Find: new infoBoxHeadingCategories($info_box_contents, true, false); $categories_string = ''; Replace With: new infoBoxHeadingCategories($info_box_contents, true, false); $categories_string = ''; ................................................................................ .......... wich seems to me could be the problem. Any suggestions ? and btw, besides this, very nice contribution, especially to a noob as myself in php, that's been learning all the way through the forum ;) Quote
Xpress_pt Posted July 8, 2004 Posted July 8, 2004 Sorry, for not being able to correct my previous post, but i figured out the problem that i was reporting... where you have in your instructions : ................................................................................ .......... Optional Changes: 3) catalog/includes/boxes/categories.php - I did this because I didnt like the -> displayed in the infobox. Find: new infoBoxHeadingCategories($info_box_contents, true, false); $categories_string = ''; Replace With: new infoBoxHeadingCategories($info_box_contents, true, false); $categories_string = ''; ................................................................................ .......... Should be : .......................................... Replace with : //new infoBoxHeading($info_box_contents, true, false); //$categories_string = ''; //$tree = array(); .......................................... ;) Also... this does not remove the -> sign in categories... :( any suggestions ? Regarding the previous post, where i stated the appearance of that same "1" sign, it also appears in the shopping cart infobox... i'll dig a little on that file and get back here... :) Quote
Guest Posted July 8, 2004 Posted July 8, 2004 Yeah find this in catalog/includes/boxes/categories.php if (tep_has_category_subcategories($counter)) { $categories_string .= '->'; } Replace with: if (tep_has_category_subcategories($counter)) { $categories_string .= ''; } Hope this helps. Quote
Guest Posted July 8, 2004 Posted July 8, 2004 Regarding the "1" in the left corner placement, I am not 100% sure but try these: Find in catalog/includes/modules/new_products.php: $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); Replace with: $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => ''), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => '')); Maybe that helps a little more Quote
Guest Posted July 8, 2004 Posted July 8, 2004 To remove the "1" in categories and shopping cart headers comment out the lines below which will remove the header complete. catalog/includes/boxes/categories.php Find around line 80: new infoBoxHeading($info_box_contents, true, false); Replace with: //new infoBoxHeading($info_box_contents, true, false); Hope this helps Quote
imo Posted July 8, 2004 Posted July 8, 2004 What if we don't want to remove the headings completely? Please fix the problem and not go round it. Quote
Guest Posted July 8, 2004 Posted July 8, 2004 Please fix the problem and not go round it. Just to confirm to you, this isnt a problem, this is a infobox image wrapper, I did this for my site, I needed header images, and I released the contrib for others, if people want to adjust it no problem go ahead. Removing the headers complete was what I intended to do from the start it isnt a problem as far as I am concerned, If you require any fixes ask dont tell imo plz :( . Quote
Guest Posted July 8, 2004 Posted July 8, 2004 works perfect on my site and I have a lot of other contribs installed with it so what errors are you having? be specific dont judge because you are unable to get it working. http://www.supaosc.com/supasites/supasolutions/ I am working on the newer version with clearer and revised txt file but I have used the instruction to install on test sites with no real problems. Quote
imo Posted July 8, 2004 Posted July 8, 2004 The problem I had with it was that when you edited the template, you had to include every header image on every page. I thought it would have recognised that I don't need the images of 'tell a friend' and 'reviews' on the main page. Quote
Guest Posted July 9, 2004 Posted July 9, 2004 I dont quite understand but have you tried making blank image headers, for the ones you dont need? If you dont need reviews or tell a friend infobox just delete them from the sts template html page. Quote
Guest Posted August 16, 2004 Posted August 16, 2004 will support mutil-langage for the furture???? or add other contribution can do that??? Quote
Guest Posted August 16, 2004 Posted August 16, 2004 how to delete the infobox border?? (pls see the attachment) Quote
Guest Posted August 16, 2004 Posted August 16, 2004 Does your site include the simple template system? Quote
Guest Posted August 18, 2004 Posted August 18, 2004 Ok the only thing that pops to mind which could be the issue is that I have installed the category box enhancment to this infobox which also gives me the bullets, try this contrib also very simple mod 5 mins. Quote
allru111 Posted June 12, 2005 Posted June 12, 2005 Joker can you post a link to a working example of this contribution. I want to have a look at it before trying. thanks Quote
bkellum Posted August 28, 2006 Posted August 28, 2006 Anybody know of any updates to this contribution so that it will work with STSv4.2? Thanks, 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
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.