OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Let's See What We Have Here
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Installation and Configuration
zanniesattic
Hello! I am wondering if there is any way to change the "Let's See What We Have Here" on the top of each Catagory to the Name of the Catagory. I'm new to OS, but didn't see a file anywhere, and have looked in the help forums but don't see this.
Anyone have any ideas?
Thanks,
Suzanne
zanniesattic
Does anyone have any suggestions?
Wolfsfable
If you are wanting to change the message to something else look inside the file includes/languages/english/index.php

Inside that file you will see a line that says define('HEADING_TITLE', 'Let\'s See What We Have Here');

Just change the text between the ' ' symbols and save and upload the revised file, and the title will be changed. Or you can just leave is blank between the ' ' symbols and nothing will appear. Make sure that the 2 ' ' symbols stay there, php is very tempramental and the page will be blank if you miss a single keystroke. dry.gif but even if you choose to leave the HEADING_TITLE blank you will still get a little picture that pops up.

If you want to completely remove the wording and the picture then you will hafta edit the pages in which the title appears.

To do this open the .php page that the title appears on, for instance index.php

on line 232 you will see a line that says <td class = "pageHeading"><?php echo HEADING_TITLE; ?></td>

That is the line of code that calls for the heading title in the english index file and if you remove the <?php echo HEADING_TITLE; ?> part a title will not appear on that page, further down the code on line 272 it says <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

Removing <?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> will keep the image from appearing.

Cheers, hope this helps you wink.gif
Wolfsfable
Also, sorry but osComm is not set up to change the title for each product. Of course that happens on the product info page. Of course you could change the <?php echo HEADING_TITLE; ?> to say <?php echo $product_name; ?> that might work ??

Might want to back up the page that you try it on though just in case it doesn't work. whistling.gif

But if it doesn't work this probably best to just delete the title from the page completely, otherwise you better be a php programmer smile.gif
zanniesattic
Thanks for the reply Wolfsfable.
" you could change the <?php echo HEADING_TITLE; ?> to say <?php echo $product_name; ?> that might work ??"
It didn't work. But now I found where to change the text. I had left it blank, but it looked empty to me. I'll have to think of better text to put in its place.
Thanks again.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.