Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Default Page heading


Genius

Recommended Posts

Posted

I would like to change the default heading text, in the default home page.I am getting this HEADING_TITLE, if i change the text in english.php it is changing the text to all the headings on the site... can anyone assist me.

Posted

If you want default.php to display something different than the rest of the pages on the site, you can just change

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

to

<td class="pageHeading">Text you want to display.</td>

However, if you want default.php to display something different when you are looking at it at the top level versus the category or product level, then you will have to add some background logic, e.g.

<td class="pageHeading"><?php if ($category_depth == 'top') echo 'Text you want to display'; else echo HEADING_TITLE; ?></td>

or something like that.

 

Hth,

Matt

Posted

HI Matt,

 

I have tried the suggested code and still no luck.. i still have HEADING_TITLE showing :cry:

Posted

My Appologies Matt,

 

I did not realise that there were 3 HEADING_TITLES code and i had to change the 3rd one...

thanks :)

Archived

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

×
×
  • Create New...