yanarasod Posted May 18, 2006 Share Posted May 18, 2006 i made a new page and did the following things newfile.php added this to catalog/includes/filenames define('FILENAME_ABOUTUS', 'aboutus.php'); and made a file in catalog/includes/languages/english/newfile.php now i added header tags in the title <?php // BOF: Header Tag Controller v2.5.7 if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE; ?></title> <?php } // EOF: Header Tag Controller v2.5.7 ?> but in the title of the new page , it shows something like HEADEr_TITLE_DESC etc. etc. all other files work fine with header tags but dont have any idea about this one. thanks for any help in advance Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 18, 2006 Share Posted May 18, 2006 You added a page named newfile but you defined it as aboutus so the new page can't work. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
yanarasod Posted May 19, 2006 Author Share Posted May 19, 2006 hey it was just for illustration, i created a file named aboutus, defined it in filenames as aboutus and created afile in languages/english as aboutus. but i dont understand why is it doing so not only for that particaular page but also for products_reviews_write. i don't understand why it's wokring like that as other pages seem ok, but some pages show this: HEAD_TITLE_TAG_PRODUCTS_REVIEWS_WRITE and other titles according to their page, what should i do now. thanks Link to comment Share on other sites More sharing options...
yanarasod Posted May 19, 2006 Author Share Posted May 19, 2006 just visit this page to get an idea http://bhuratea.com/product_reviews_write.php?products_id=30 Link to comment Share on other sites More sharing options...
Epic Mike Posted May 19, 2006 Share Posted May 19, 2006 you have to define the text for each page in your header tags section in admin or you can manually edit the header tags.php files Edit: Plus, you have to log in to view the page you linked to by the way. Link to comment Share on other sites More sharing options...
yanarasod Posted May 19, 2006 Author Share Posted May 19, 2006 but you didn't understand, i have the default title for each page and all except this are working fine with this same code, i have not defined any title manually. and was logged in to view that page , you may login their using the sample login: [email protected] password: gourav this is just a sample so do anything, hope it is clear Link to comment Share on other sites More sharing options...
Maggilove Posted May 19, 2006 Share Posted May 19, 2006 You need to add products_reviews_write in admin > header tags > page control, then define the title etc for the page in admin > header tags > text control Link to comment Share on other sites More sharing options...
yanarasod Posted May 19, 2006 Author Share Posted May 19, 2006 hey man, i have all the pages set with this code without having defined title for each page in the admin header section, all other pages work fine, i dont know what's wrong with this one, do i need to paste the code here. Link to comment Share on other sites More sharing options...
Maggilove Posted May 19, 2006 Share Posted May 19, 2006 Ok, I see... can you paste the code from the head section of that file, please. Link to comment Share on other sites More sharing options...
yanarasod Posted May 19, 2006 Author Share Posted May 19, 2006 i have it here in this topic, please see it here http://www.oscommerce.com/forums/index.php?showtopic=2101081 Link to comment Share on other sites More sharing options...
xbrianx Posted June 1, 2007 Share Posted June 1, 2007 Same thing is happening to me i am getting HEAD_TITLE_TAG_ABOUT_US as the meta title for the new page i created. Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 1, 2007 Share Posted June 1, 2007 For the reviews page problem, be sure to look at the support thread. There was a problem in the code for the reviews. I think I fixed that and uploaded it but I may not have. It would be mentioned in the support thread though. For the HEAD_TITLE_TAG_ABOUT_US problem, most likely it is how the undderscore is handled. Look in includes/header_tags.php and english/header_tags.php and find the code that deals with HEAD_TITLE_TAG_ABOUT_US. Be sure they are all the same and not HEAD_TITLE_TAG_ABOUTUS or HEAD_TITLE_TAG ABOUT_US, or something else. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.