ulefos Posted August 15, 2007 Share Posted August 15, 2007 Hello This is the problem..... i have a whats new box with a picture of the product and a small button to click for more information 1. When i click the picture it is fine opens product page 2. when i click the small button it opens a product page, but the titles are wrong, in the top left corner there is NAVBAR_TITLE and in the infomation box the Title is HEADING_TITLE Link to site All Paws Together Link to comment Share on other sites More sharing options...
Gauravs Posted August 15, 2007 Share Posted August 15, 2007 It took a while to actually see the problem :) but finally got it. You need to check products_new.php file Following line is responsible to get proper value and if someone has modified code and as shown in code below if tep_herf_link variable is incorrect / replaced by a constant, obviously it will not pick up the value properly. $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRODUCTS_NEW)); I am sure if you fix NAVBAR, Heading title would get resolved as well. Thx ------------- Best Regards,Gaurav Link to comment Share on other sites More sharing options...
ulefos Posted August 15, 2007 Author Share Posted August 15, 2007 Hello and thankyou for your reply I am very much a begginer, would you be able to do a step by step account of what you mean??? Thanks again Ulefos Link to comment Share on other sites More sharing options...
Gauravs Posted August 15, 2007 Share Posted August 15, 2007 Open products_new.php in notepad, Search for $breadcrumb->add(NAVBAR_TITLE... Paste the lines / code in the forum. Thx, ----------------- Best Regards,Gaurav Link to comment Share on other sites More sharing options...
ulefos Posted August 15, 2007 Author Share Posted August 15, 2007 require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCTS_NEW); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRODUCTS_NEW)); ?> Hope this is what you mean Link to comment Share on other sites More sharing options...
Gauravs Posted August 15, 2007 Share Posted August 15, 2007 OK, so far this is right, next place to look for is Catalog/includes/languages/english and check file named products_new.php define('NAVBAR_TITLE', 'New Products'); define('HEADING_TITLE', 'New Products'); define('TEXT_DATE_ADDED', 'Date Added:'); define('TEXT_MANUFACTURER', 'Manufacturer:'); define('TEXT_PRICE', 'Price:'); What do you have on your site? please check this bit now... Thx, Best Regards,Gaurav Link to comment Share on other sites More sharing options...
ulefos Posted August 15, 2007 Author Share Posted August 15, 2007 Yes thats all there Link to comment Share on other sites More sharing options...
Gauravs Posted August 15, 2007 Share Posted August 15, 2007 Next point is to look for filenames.php - and confirm what is the constant established here define('FILENAME_PRODUCTS_NEW', 'products_new.php'); Thx Best Regards,Gaurav Link to comment Share on other sites More sharing options...
ulefos Posted August 15, 2007 Author Share Posted August 15, 2007 It seems i have 1 file ('FILENAME_NEW_PRODUCTS','new products. php'); but i do have another file called define('FILENAME_PRODUCTS_NEW', 'products_new.php'); What to do Link to comment Share on other sites More sharing options...
ulefos Posted August 15, 2007 Author Share Posted August 15, 2007 It seems i have 1 file define('FILENAME_NEW_PRODUCTS', 'new_products. php'); but i do have another file called define('FILENAME_PRODUCTS_NEW', 'products_new.php'); What to do Link to comment Share on other sites More sharing options...
ulefos Posted August 15, 2007 Author Share Posted August 15, 2007 more help please Link to comment Share on other sites More sharing options...
ulefos Posted August 15, 2007 Author Share Posted August 15, 2007 more help please SORTED Thank you pubdomains.com much apprecated i didnt nottice the // at the begining of the define Thank again Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.