Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I cange the page header text?


izbryte

Recommended Posts

All you have to do is edit the /includes/languages/english/index.php.

 

Find the part that says

define('HEADING_TITLE', 'Let\'s See What We Have Here');

 

Change it to

define('HEADING_TITLE', 'Whatever you want!');

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites

Sorry I didn't read your question right.

 

I could get it to display the categories name but not for the subcategories.

 

find: (around line 70)

<?php echo HEADING_TITLE; ?>

 

and change it to:

<?php

if ($category_depth == 'nested') {

echo $category['categories_name'];

} else {

echo HEADING_TITLE;

}

?>

I think you will have to add an sql query if you want it to display for the subcategories. Maybe someone else knows?

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...