trisomie Posted March 25, 2004 Posted March 25, 2004 Hi folks, my problem is the Infobox. I just like to add an row under the header, but myself isn't a skilled php coder, so I do not really understand all the lines in the boxes.php. Somebody know a simple way how to change the Infoboxes. Its just an <tr><td> I want to add. Thanks a lot. :o :unsure: Greetings TRISOMIE
ozcsys Posted March 26, 2004 Posted March 26, 2004 Hi folks, my problem is the Infobox. I just like to add an row under the header, but myself isn't a skilled php coder, so I do not really understand all the lines in the boxes.php. Somebody know a simple way how to change the Infoboxes. Its just an <tr><td> I want to add. Thanks a lot. :o :unsure: Greetings TRISOMIE Which box are you wanting to change and what are you trying to add to it? 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??
trisomie Posted March 26, 2004 Author Posted March 26, 2004 Hi, I like to change the top layout of all infoboxes. That means, underneath the header of the info box. For example the header from the product categories. I want to add an new row under the header. In html it would just be a new row "<tr>" , but I do not really understand every of the php lines. Thanks.
♥Vger Posted March 26, 2004 Posted March 26, 2004 If all you want to do is to add a row, to introduce some spacing, you can just add a break command between the links in the boxes e.g. <br> (html) or </br> (php). Or you can do what I do, and that is to add some div classes to the cascading style sheet that comes with osCommerce. e.g. DIV.a2 {font-size:2pt} DIV.a5 {font-size:5pt} and then in the info box you can specify <div class="a5"> </div> and this gives you a 5pt high break where you want it, or a 2pt, 1pt etc. Hope this helps - Vger :)
trisomie Posted March 26, 2004 Author Posted March 26, 2004 I will try, thanks a lot. I will tell you if it works. Greetings
stevel Posted March 26, 2004 Posted March 26, 2004 The HTML for such things is created in catalog/includes/classes/boxes.php It may take a bit of studying and head-scratching to see how to add code to what is put out. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Mayava Posted March 27, 2004 Posted March 27, 2004 Hi I am also trying to modify a few things in info boxes. I specifically want to remove the number of products under each category from the categpries infobox (i.e. instead of category1 (5) have category1). Also how can I only make the categories text bold, I tried it via stylesheet but that makes all of them bold. Many thanks in advance for your help Regards M
stevel Posted March 27, 2004 Posted March 27, 2004 Removing the count is easy - under the admin panel, My Store, set "Show category counts" to false. The way it is set by default, the category you are in is bolded. I think that's a good way to leave it, unless you want to designate that state some other way. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
trisomie Posted March 28, 2004 Author Posted March 28, 2004 Hi freaks, I already looked up the boxes.php but I do not really understand all the arrays and so on. I cannot explore some understandable "html" lines in that file. :( Somebody got an Idea how to handle the arrays to add an row, cause I am not a great fan of <div> Tags, because netscape <= 4.7 sometimes read them different as the IE do. Thank you. :lol: Greetings
Mayava Posted March 30, 2004 Posted March 30, 2004 Hi Steve, Thanks for your help, it s really appreciated. I want the categories to stand out and as the path map is there on the top I don't mind them not being highlighted in bold when visitor is in that particular category. Do you know a way to have them permenantly on bold? Many thanks M
Recommended Posts
Archived
This topic is now archived and is closed to further replies.