Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Categories Table Html


ttetzloff

Recommended Posts

Posted

Hello Everyone,

 

Where can I find the categories table html code. Not the categories box itself, but where the actual html table it is containted in is located. A quick view of the html source of my page reveals that it should start with something along the lines of: <!-- start categorybox //-->. I am spacing it because I had found where it was on the last store that I build but I cannot find or seem to remember where it is. Anyway, any help will be greatly appreciated.

 

Thanks,

-Tyler

-Tyler

Posted

you mean you want to be able to space the info boxes out from each other???

 

Just wanted to clarify.. I know that the column_left (and right) files have the code that kinda lays out the columns, but i'm not sur eif you would put the spacing between boxes there

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted
you mean you want to be able to space the info boxes out from each other???

 

Just wanted to clarify.. I know that the column_left (and right) files have the code that kinda lays out the columns, but i'm not sur eif you would put the spacing between boxes there

 

Lindsay,

 

Thanks for the quick reply.

 

If you go to catalog/includes/boxes/categories.php you will see that after the initial php code there is this code:

<!-- categories //-->

<tr>

<td>

 

That of course also ends with:

</td>

</tr>

<!-- categories_eof //-->

 

 

What I want to be able to find is the code that precedes that. The code that actually creates the table itself. Does this help clerify?

 

EDIT: Hehehe I just realized you thought I was wanting to "space" the menu out. I meant I was mentally "spacing" it. :-)

 

Thanks again,

-Tyler

-Tyler

Posted

To clarify all I want to do is get to the actual file that sets up the table and then calls the category box and then ends the table. Here is the 'view source' of the section of the store I am talking about.

 

<!-- start categorybox //-->

 

<table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td class="boxText">CATEGORY INFORMAITON HERE</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

 

<!-- end categorybox //-->

 

I want to find out where this code actually gets set up.

 

Thanks again,

-Tyler

-Tyler

Posted

Look in stylesheet.css, class InfoBox and InfoBoxContents, for the text color etc.

You need to add a new class to includes/classes/boxes.php change the look and feel from all the other infoboxes.

Also look in includes/boxes for the category box. There are strings there that define spaces and new lines for each next cat id...

I think that's about it.

Archived

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

×
×
  • Create New...