Genius Posted July 7, 2003 Posted July 7, 2003 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.
Guest Posted July 7, 2003 Posted July 7, 2003 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
Genius Posted July 8, 2003 Author Posted July 8, 2003 HI Matt, I have tried the suggested code and still no luck.. i still have HEADING_TITLE showing :cry:
Genius Posted July 8, 2003 Author Posted July 8, 2003 My Appologies Matt, I did not realise that there were 3 HEADING_TITLES code and i had to change the 3rd one... thanks :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.