Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where are certian files located? $content, $catalogbox


BR1657

Recommended Posts

I have redesigned the html layout for my store but now need deal with the content appearance.

In my HTML file I have tables and in those tables I have php calling for $content, $footer_text, $breadcrumbs, $categorybox...etc.

Where is this data coming from? What file(s) govern the definitions of the content and what files govern it's appearance?

 

ALSO - inside osCommerce Admin there is an option to add a thumbnail to be associated with each category. I would

really like to make the thumbnails smaller and rework the appearance of this as well.

What tells osCommerce how to format the size, spacing etc of the category thumbnails?

Link to comment
Share on other sites

I have redesigned the html layout for my store but now need deal with the content appearance.

In my HTML file I have tables and in those tables I have php calling for $content, $footer_text, $breadcrumbs, $categorybox...etc.

Where is this data coming from? What file(s) govern the definitions of the content and what files govern it's appearance?

 

ALSO - inside osCommerce Admin there is an option to add a thumbnail to be associated with each category. I would

really like to make the thumbnails smaller and rework the appearance of this as well.

What tells osCommerce how to format the size, spacing etc of the category thumbnails?

 

$content $footer_text etc.. are all part of STS (Simple Template System) which is called from the respected parts of the page you're on.

For example

$content pretty much includes everything between the right and left columns but can change depending on what page you're on. So index.php may have the new products module or the category listings, but on a specific products page it will include the main content of that of which is in product_info.php, $footer_text is pulled from footer.php and defined in your language file. $categorybox is in the left column and called from catalog/includes/boxes/categories. You should download Simple Template System and read the help file to get more info.

 

You can change the size of your images in the admin under configuration>images Height / Width

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...