Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category header


mysticaleast

Recommended Posts

Hi guys,

 

When a user clicks on a category then I see the text "What do we have here" (or something like that).

 

Ive found this to be defined as HEADER_TITLE in english/index.php and I can change it fine without any problems.

 

What I would like is for the category that is clicked on from the left hand side to be the new header displayed instead of HEADER_TITLE (or become the header_title depending on how you look at it).

 

I think ive found the correct place in index.php, on line 232 in /index.php is the line:

 

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

 

I can change this HEADING_TITLE to be whatever I want and it works, but how do I reference what was clicked on to make it change dynamically?

 

Thanks for your help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...