bhomis Posted November 7, 2005 Share Posted November 7, 2005 Hi. I've been following the posts over the past few days, and nothing that comes up seems to alleviate the problem of category and/or product names not showing in the title bar. I have to be honest, I really don't know where to go from here. If anyone has some ideas, please let me know. I've put some previous posts and responses on here to offer some background. Thank you very much. Bruce Hi. I seem to be having a problem with the same issue as somebody who recently posted. No matter what I try, the category name never appears in the title bar, nor do the names for the products on their respective pages' title bars. Anybody hae some ideas? Some background: I've had a topic going on this on the installation forum (http://www.oscommerce.com/forums/index.php?showtopic=177874) Early on, I needed to install the registe_globals patch. Thank you very much. Bruce Jack, I'm sorry. Yes, the fields are filled. I'll double check everything I did. I checked around on my site last night a bit and noticed that the shipping.php page comes with osCommerce in the title bar - and I changed that earlier in admin. So the contribution seems not to be working at all for me. Now the title bar seems to be the least of my problems. This contributions is the last change I've made to the site, and last night was the first time I went to sign in on my shopping cart since the change, and I all I get now after signing in is a blank page. I really need some help. Thank you. Bruce BhomisOk i think i got it working. It's all about how you are filling out the header tag page in includes/lang/english/header_tags This is how i Have mine and seems to be working now; replace my website name/keywords with your own // For all pages not defined or left blank, and for products not defined // These are included unless you set the toggle switch in each section below to OFF ( '0' ) // The HEAD_TITLE_TAG_ALL is included BEFORE the specific one for the page // The HEAD_DESC_TAG_ALL is included AFTER the specific one for the page // The HEAD_KEY_TAG_ALL is included AFTER the specific one for the page define('HEAD_TITLE_TAG_ALL','J.A.W. Products, Inc. : '); define('HEAD_DESC_TAG_ALL',' J.A.W. Products, Inc. : Great prices on blah blah blah blah blah blah'); define('HEAD_KEY_TAG_ALL','your default keywords'); // DEFINE TAGS FOR INDIVIDUAL PAGES // index.php define('HTTA_DEFAULT_ON','0'); // Include HEAD_TITLE_TAG_ALL in Title define('HTKA_DEFAULT_ON','0'); // Include HEAD_KEY_TAG_ALL in Keywords define('HTDA_DEFAULT_ON','0'); // Include HEAD_DESC_TAG_ALL in Description define('HTTA_CAT_DEFAULT_ON', '1'); //Include HEADE_TITLE_DEFAULT in CATEGORY DISPLAY define('HEAD_TITLE_TAG_DEFAULT', 'J.A.W. Products, Inc.'); define('HEAD_DESC_TAG_DEFAULT','J.A.W. Products, Inc. : blah blah blah blah description'); define('HEAD_KEY_TAG_DEFAULT','default keywords'); // product_info.php - if left blank in products_description table these values will be used define('HTTA_PRODUCT_INFO_ON','0'); define('HTKA_PRODUCT_INFO_ON','0'); define('HTDA_PRODUCT_INFO_ON','0'); define('HEAD_TITLE_TAG_PRODUCT_INFO','0'); define('HEAD_DESC_TAG_PRODUCT_INFO','0'); define('HEAD_KEY_TAG_PRODUCT_INFO','0'); // products_new.php - whats_new define('HTTA_WHATS_NEW_ON','0'); define('HTKA_WHATS_NEW_ON','0'); define('HTDA_WHATS_NEW_ON','0'); define('HEAD_TITLE_TAG_WHATS_NEW','New Products'); define('HEAD_DESC_TAG_WHATS_NEW',''); define('HEAD_KEY_TAG_WHATS_NEW',''); // specials.php // If HEAD_KEY_TAG_SPECIALS is left blank, it will build the keywords from the products_names of all products on special define('HTTA_SPECIALS_ON','0'); define('HTKA_SPECIALS_ON','0'); define('HTDA_SPECIALS_ON','0'); define('HEAD_TITLE_TAG_SPECIALS','Specials'); define('HEAD_DESC_TAG_SPECIALS',''); define('HEAD_KEY_TAG_SPECIALS',''); // product_reviews_info.php and product_reviews.php - if left blank in products_description table these values will be used define('HTTA_PRODUCT_REVIEWS_INFO_ON','1'); define('HTKA_PRODUCT_REVIEWS_INFO_ON','1'); define('HTDA_PRODUCT_REVIEWS_INFO_ON','1'); define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_INFO',''); define('HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO',''); define('HEAD_KEY_TAG_PRODUCT_REVIEWS_INFO',''); ?> I spoke too soon, it seems to be calling keywords and title AND description all as the same as the category title, wont show anything that i type in myself. Try adding a keyword in the keyword box for a product in admin. After you save it, switch to some other part of the admin section and then go back to that product. Is your keyword still there? If not, then you have a problem in the categories.php file. If it is, then you have a problem in the product_info.php file. Let me know which it is and we can go from there. Jack Jack, Hi there. Thanks for your help. I've been combing through everything step by step that I did and I found an error I made in application_top.php which corrected everything but the categories and the products showing up in the title bar. It seems as though everything else I did was correct though. Okay, I did what you said and the keyword is still there. So it's product_info.php? Thanks, Bruce CATEGORY DISPLAY? Where do I find that?Thanks, Bruce The problem is in the product_info.php file, the includes/header_tags.php file or the includea/languages/english/header_tags.php file (most unlikely). The only problem it could be on the product_info.php file is if you didn't add the code to replace the title in the head section of the page. If that is OK, try replacing, temporairly, the includes/header_tags.php file. Does it work then? Jack Jack,Hi. Thanks. I'm okay with my product_info.php. What should I be looking for on either header_tags.php page? Bruce Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.