mark27uk3 Posted December 18, 2006 Share Posted December 18, 2006 Hi Nicko, Please can you tell me where abouts I need to look or change to be able to add an icon to the left of the infobox heading. ie. <icon>Categories or <icon>Whats New I could add it before I added this contribution in the catalog/includes/classes/boxes file, I have looked through the various changes and I am a little unsure as to where I need to be looking or what I should be looking for. Thanks Mark Quote Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
WebDudeSlo Posted December 21, 2006 Share Posted December 21, 2006 hello i get this with firefox... Quote Link to comment Share on other sites More sharing options...
mark27uk3 Posted December 22, 2006 Share Posted December 22, 2006 Hi Julijan, Are you able to provide a link to your store so I can see if I can help Nicko, please ignore my post above as I have managed to solve this issue. Mark Quote Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
Trout69 Posted December 25, 2006 Share Posted December 25, 2006 Hi All, This contrbution is exactly what i have been looking for, for my new store update. However, i have 'wolfen featred sets' installed, and although the contribution works right out the box and wraps the graphical boxes around the sets, every product box has the title 'categories'. This also happens in shopping_cart.php. Whenever i change the BOX_HEADING_CATEGORIES defin in english php these change to whatever i edit it too. Now i have attempted to make the amendment to shopping_cart.php as outlined in the instructions, for when the title is incorrect but i get the following error: Fatal error: Cannot instantiate non-existent class: noborderbox in c:\program files\easyphp1-8\www\shopping_cart.php on line 349 Any ideas on how i can rectify this would be most appreciated. Also, on a brighter note, i' like to customise the borders myself, but find the enclosed .PSD files not much use as they do not include the blending options for each layer? Does anyone have these? Thanks in advance, and i look forward to your response. Donna Quote Link to comment Share on other sites More sharing options...
nicko107 Posted December 31, 2006 Share Posted December 31, 2006 Hi All, This contrbution is exactly what i have been looking for, for my new store update. However, i have 'wolfen featred sets' installed, and although the contribution works right out the box and wraps the graphical boxes around the sets, every product box has the title 'categories'. This also happens in shopping_cart.php. Whenever i change the BOX_HEADING_CATEGORIES defin in english php these change to whatever i edit it too. Now i have attempted to make the amendment to shopping_cart.php as outlined in the instructions, for when the title is incorrect but i get the following error: Fatal error: Cannot instantiate non-existent class: noborderbox in c:\program files\easyphp1-8\www\shopping_cart.php on line 349 Any ideas on how i can rectify this would be most appreciated. Also, on a brighter note, i' like to customise the borders myself, but find the enclosed .PSD files not much use as they do not include the blending options for each layer? Does anyone have these? Thanks in advance, and i look forward to your response. Donna Hi open file: catalog/includes/classes/boxes.php and before the last tag ?> add this code: // Graphical Borders class noborderBox extends tableBox { function noborderBox($contents) { $this->table_cellpadding = '0'; $this->table_cellspacing = '3'; $this->table_data_parameters = 'class="noborderBox"'; $this->tableBox($contents, true); } } // Graphical Borders - end modification regards Quote Link to comment Share on other sites More sharing options...
nicko107 Posted December 31, 2006 Share Posted December 31, 2006 hello i get this with firefox... Hi only need to do this: edit file: catalog/stylesheet.css and add this code: /* Graphical Borders - boxes column_left_right - Star */ .mws_boxTop { background: url('images/infobox/top.gif'); font-family: Tahoma; font-size: 11px; text-align : center; font-weight: bold; background-repeat:repeat-x; vertical-align: middle; } .mws_boxLeft { background: url('images/infobox/left.gif'); } .mws_boxRight { background: url('images/infobox/right.gif'); } .mws_boxBottom { background: url('images/infobox/bot.gif'); font-family: Verdana, Arial, sans-serif; font-size: 11px; text-align : center; vertical-align: middle; white-space: nowrap; } .mws_boxCenter { background: #FFFFFF; } /* Graphical Borders - boxes column_left_right - Star */ /* Graphical Borders - boxes main modules and file-pages - Star */ .mws_boxTop_main { background: url('images/infobox_main/top.gif'); font-family: Tahoma; font-size: 11px; text-align : center; font-weight: bold; background-repeat:repeat-x; vertical-align: middle; white-space: nowrap; } .mws_boxLeft_main { background: url('images/infobox_main/left.gif'); } .mws_boxRight_main { background: url('images/infobox_main/right.gif'); } .mws_boxBottom_main { background: url('images/infobox_main/bot.gif'); font-family: Verdana, Arial, sans-serif; font-size: 11px; text-align : center; vertical-align: middle; white-space: nowrap; } .mws_boxCenter_main { background: #FFFFFF; } /* Graphical Borders - boxes main modules and file-pages - End */ TD.noborderbox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } regards Quote Link to comment Share on other sites More sharing options...
mark27uk3 Posted December 31, 2006 Share Posted December 31, 2006 Hi Nicko, Please can you tell me where abouts the product name length is defined for things like the featured products and default_specials on the index page as some of my products have long names and they are getting cut off. Thanks & Happy New Year Mark Quote Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
nicko107 Posted December 31, 2006 Share Posted December 31, 2006 Hi Nicko, Please can you tell me where abouts the product name length is defined for things like the featured products and default_specials on the index page as some of my products have long names and they are getting cut off. Thanks & Happy New Year Mark Hi in Featured Products module: catalog/includes/modules/featured.php is define in the 30 of this code: . substr($featured_products['products_name'], 0, 30) . you can change the length changing the 30, this is the charapters numbers of the product name this code appear in two locations in this file and for Specials on default in file: catalog/includes/modules/default_specials.php in this code: . substr($default_specials['products_name'], 0, 30) . the same 30 only appear in one location in this file regards and Happy a New Year Quote Link to comment Share on other sites More sharing options...
WebDudeSlo Posted January 3, 2007 Share Posted January 3, 2007 Hi Nicko, maybe do you know, how to install graphical borders on basic design pack. I tryed to install it with step by step, but it didnt work... when i install it i see always left column of boxes(without graphical borders on them) right coulmn was disappear. Quote Link to comment Share on other sites More sharing options...
WebDudeSlo Posted January 5, 2007 Share Posted January 5, 2007 Nicko, Would you want me to help please... I cant install graphical borders on basic design pack, would you want to check if graphical borders work with basic design pack ? Quote Link to comment Share on other sites More sharing options...
WebDudeSlo Posted January 5, 2007 Share Posted January 5, 2007 Hello! i tryed to installed graphical borders2.1 on Basic Design pack9 but i see uncomplete. But the problem is that i think i didnt missed nothing or did wrong... Its strange because i dont see graphics modules on the left column and right column... I would be really glad if you help me here... i will put picture of my side to see this problem better. thanks Quote Link to comment Share on other sites More sharing options...
judyxt Posted January 9, 2007 Share Posted January 9, 2007 Please could you help I installed this program today and get an error Fatal error: Class 'CategoriesBoxHeading' not found in /home/phoneaid/public_html/test/includes/boxes/categories.php on line 105 I looked and you don't even have that in your folders. I have Basic Design Pack installed and I am not a programmer can someone help please? http://phoneaids.com/test Quote Link to comment Share on other sites More sharing options...
rusky Posted January 13, 2007 Share Posted January 13, 2007 Hello!!! First of all thanks a lot for this geat contrib. But there is one problem: I`ve installed the contrib "Great Categories" too. When I leave the Startpage to a category, the boxes have no more a border. When I go to e.g. service.php all the boxes are getting the boarder back. Only the categories are wrong. I`ve changed all the stylesheet.css in includes\classes\thema\1 (2,3,4..)\*.css too. Can anyone help? Thanks a lot from germany... Rgds. rusky Quote Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2007 Share Posted January 14, 2007 I installed this Contribution and it worked fine until I installed "Show Sub Categories" contrib. All of the boxes still have the graphical borders except "Categories" if you could tell me what I need to do in order to add the graphical borders to "Categories" I would appreciate it. Thanks Quote Link to comment Share on other sites More sharing options...
judyxt Posted January 19, 2007 Share Posted January 19, 2007 Hi the boxes of columns change automatically when finish the installation you see if you have this line in the box of the columns: new infoBox($info_box_contents); in catalog/includes/boxes/files.php files.php are the files that display in the column of your catalog: categories.php, manuefacturers.php,... The graphical borders contribution change this class of infobox to display the graphics borders If you have other classe define for this boxes then its that cause dont change the borders, but if you have this line then see if you do all changes of intructions and have all the files uploaded Can someone explain I have installed this and I do not have files.php anyplace? I also have got an issue with missing the bottom of all the boxes could someone please help me? My site is phoneaids.com/test Thanks Quote Link to comment Share on other sites More sharing options...
nicko107 Posted January 19, 2007 Share Posted January 19, 2007 (edited) Hi For work the Graphical Borders contributions the boxes files have to use the infobox class The boxes of columns are in files of directory boxes: catalog/includes/boxes/categories.php <-- file of categories menu catalog/includes/boxes/information.php <-- file of information box catalog/includes/boxes/currencies.php <-- file of currencies ... All of thats files about the end of the code have this line: new infoBox($info_box_contents); The Graphical Borders contribution modify the infoBox class of boxes use by this files this is the reason that the rounded borders arent displayed in some boxes or in some stores if this boxes have other classes instead infoBox Basic design Pack use other class, osCommerce by default use infoBox for all the boxes but Basic design Pack use others class and a different class for each box I dont try this contribution but I think the solution could be doing the changes to that classes instead the infoBox class or adapted the code for it About the "Show Sub Categories" contributions, thats contribution used other class to the categories box, it use the noborderbox class, but there arent a problem to change in the code of this file catalog/includes/boxes/categories.php the noborderclass that appear about the end of the code to infoBox class to display the graphical borders in this box. regards Edited January 19, 2007 by nicko107 Quote Link to comment Share on other sites More sharing options...
andytc Posted January 20, 2007 Share Posted January 20, 2007 nicko do you have the code to show the in stock-out of stock buttons on the front page modules ? featured default specials i cant find it anywhere and the code i've tried doesn't work. I see you have it working on your demo site. cheers :thumbsup: Quote Link to comment Share on other sites More sharing options...
Johnpage97 Posted January 21, 2007 Share Posted January 21, 2007 Hi, Samething here. The Graphical Boxes works great on IE, but seems the FireFox cannot read the css... Borders disappear, text shows wrong sizes... etc... Hi only need to do this: edit file: catalog/stylesheet.css and add this code: /* Graphical Borders - boxes column_left_right - Star */ .mws_boxTop { background: url('images/infobox/top.gif'); font-family: Tahoma; font-size: 11px; text-align : center; font-weight: bold; background-repeat:repeat-x; vertical-align: middle; } .mws_boxLeft { background: url('images/infobox/left.gif'); } .mws_boxRight { background: url('images/infobox/right.gif'); } .mws_boxBottom { background: url('images/infobox/bot.gif'); font-family: Verdana, Arial, sans-serif; font-size: 11px; text-align : center; vertical-align: middle; white-space: nowrap; } .mws_boxCenter { background: #FFFFFF; } /* Graphical Borders - boxes column_left_right - Star */ /* Graphical Borders - boxes main modules and file-pages - Star */ .mws_boxTop_main { background: url('images/infobox_main/top.gif'); font-family: Tahoma; font-size: 11px; text-align : center; font-weight: bold; background-repeat:repeat-x; vertical-align: middle; white-space: nowrap; } .mws_boxLeft_main { background: url('images/infobox_main/left.gif'); } .mws_boxRight_main { background: url('images/infobox_main/right.gif'); } .mws_boxBottom_main { background: url('images/infobox_main/bot.gif'); font-family: Verdana, Arial, sans-serif; font-size: 11px; text-align : center; vertical-align: middle; white-space: nowrap; } .mws_boxCenter_main { background: #FFFFFF; } /* Graphical Borders - boxes main modules and file-pages - End */ TD.noborderbox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } regards Quote Link to comment Share on other sites More sharing options...
Johnpage97 Posted January 23, 2007 Share Posted January 23, 2007 Hi, Samething here. The Graphical Boxes works great on IE, but seems the FireFox cannot read the css... Borders disappear, text shows wrong sizes... etc... My bad... Seems it's my fault... I miss a } in front of it :P Everyone can see my site http://www.pinkgo.com Quote Link to comment Share on other sites More sharing options...
xavkick Posted February 10, 2007 Share Posted February 10, 2007 hi very nice contrib but i still have one problem how can i set the box teel a friend to appear only on the product page.? Because now this box appears in the whole site? xav Quote Link to comment Share on other sites More sharing options...
MagickWomyn Posted February 16, 2007 Share Posted February 16, 2007 I've installed this on my test site. I noticed when I change the main background color I can see a white square box around the outside of the graphical borders. This is noticeable on the index for the new products module. Also on the productinfo.php and other pages. The column boxes are fine. Any idea where I can get rid of the white box? Any help is appreciated! Quote Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2007 Share Posted February 20, 2007 Hey folks - must say this is an awesome contribution, probably the best I've used so far - thanks very much to everyone involved. I've got it mostly sorted however I'm looking to remove some of the original boxes from within the new curved boxes. I want to remove the one the arrows are pointing to. It seemed as if someone asked the same thing on the last page, but they seemed to sort it without there really being an answer, unless I'm dumb and missed the answer, in which case sorry! I guess you have to edit product_listing.php, which I tried but just ended up making a mess of things. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2007 Share Posted March 1, 2007 Ok found out on my own as usual... you need to edit product_listing.php which is in /catalog/includes/modules/ Whenever it tries to create a box (two occasions near the bottom) - replace those function calls with: new noborderbox($list_box_contents); Then to remove the headings at the top such as product name or price (you can leave them in, I just don't think they're needed)... simply find the following code: $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); and comment it out.... I haven't seen any problems arrising from this so far. It's so quiet round here it's like having my own personal forum for myself! Quote Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2007 Share Posted March 1, 2007 I just installed this contribution & like how it looks, but for some reason in IE I have horizontal scrolling which I will not have on my sites. I installed this code just as it said to & got this horizontal scrolling...has anyone else had this problem? How do I fix this? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2007 Share Posted March 4, 2007 (edited) I installed this contribution but I ran into a problem. I installed a contribution that made the header of the column boxes have a grey header bar. I don't remember which contribution this is but I am sure it what is causing my problem. I would go all the way back to before I installed it but I have alot of contributions added since then. Here is my problem. All other boxes show up on the page except the ones on the left column (I don't have a right column but I am sure this would affect it to). I have gone through the instructions multiple times to see if I have missed something and can not see what I missed. I was wondering if anyone could tell me what controls the boxes for the columns so that I can fix it. Thanks in advance for the help. Edited March 4, 2007 by zorainic 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.