Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change Infoboxes


trisomie

Recommended Posts

Posted

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

Posted
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??

Posted

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.

Posted

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 :)

Posted

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

Posted

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.

Posted

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

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...