RobinB Posted October 28, 2008 Posted October 28, 2008 Hello, Please could someone advise where the location of the 'Let's See What We Have Here' image code is? For some reason the image placeholder is there, but in the source code it has a blank entry for this image; strange, this being a brand new install. I would be grateful if someone could advise which .php file the image code is located in; I have looked through many of the likely suspects, but to no avail. Many thanks, Robin
Guest Posted October 28, 2008 Posted October 28, 2008 In a stock osc it is not an image rather text. It can be found in catalog/includes/languages/english/index.php. Look for define('HEADING_TITLE', 'Let\'s See What We Have Here');
RobinB Posted October 28, 2008 Author Posted October 28, 2008 Hi BKTrain, Appreciate the reply. I see now that I should have asked where the 'HEADING_TITLE' definition is that displays the HTML code for 'Let's See What We Have Here'. I removed the suggested line from index.php, but all it did was replace it with a default wording of, 'HEADING_TITLE'. Obviously it is picking this up from another file where is it fully defined and there is a condition that produces this result. Any idea where this could be? Many thanks, Robin
Guest Posted October 28, 2008 Posted October 28, 2008 First of put that line back in catalog/includes/languages/english/index.php. It must be put right under this line if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { The file that is calling that is catalog/index.php. In a stock osc its around line 260. Look for <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> What is yours?
RobinB Posted October 28, 2008 Author Posted October 28, 2008 Hi Brian, Thanks for the reply. I am running RC v2.2 installed from a cPanel install last week. I am checking the file now...
RobinB Posted October 28, 2008 Author Posted October 28, 2008 Hi Brian, Success! The statement on line 272: <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> was the culprit; as you can see, the '$image' variable has not been defined. I replaced it with: <td align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> and all was well! Many thanks for your help! Best wishes, Robin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.