This is a discussion on HEADING_TITLE (these words are showing up in my browser tabs? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I have done quite a bit of modifications to my store and just recently I have noticed that the words &...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have done quite a bit of modifications to my store and just recently I have noticed that the words "HEADING_TITLE are showing up in my Browser Tabs, but only on the Index / MainPage, When I look at the "Source" for my page I see my Meta Tags are messed up. Here is the top part of it; <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Flutterby Gifts, Ormstowns Favorite Gifts Store, Ormstown, Quebec : HEADING_TITLE</title> <base href="http://flutterbygifts.ca/catalog2/"> <meta name="description" content="Flutterby Gifts, Ormstowns Favorite Gift Store, Ormstown, QuebecFlutterby Gifts, Ormstowns Favorite Gifts Store, Ormstown, Quebec : HEADING_TITLE - Flutterby Gifts, Ormstowns Favorite Gift Store, Ormstown, QuebecCountry Garden,Country Home,New Arrivals 2008!!!,Home Spa,Great Ideas,Christmas,Regal Greetings & Gifts,Ormstown,Gift,Flutterby,Flutterbygifts,flutt erbygifts,ormstown,ormstown fair,exhibition," /> <meta name="keywords" content="Flutterby Gifts, Ormstowns Favorite Gift Store, Ormstown, QuebecCountry Garden,Country Home,New Arrivals 2008!!!,Home Spa,Great Ideas,Christmas,Regal Greetings & Gifts,Ormstown,Gift,Flutterby,Flutterbygifts,flutt erbygifts,ormstown,ormstown fair,exhibition,HEADING_TITLE" /> <link rel="stylesheet" type="text/css" href="templates/aabox/stylesheet.css"> <link rel="stylesheet" type="text/css" href="templates/fallback/stylesheet-new.css"> <link rel="stylesheet" type="text/css" href="templates/fallback/print.css" media="print"> <link rel="stylesheet" type="text/css" href="templates/aabox/coolmenu.css"> <script language="javascript" type="text/javascript"> function CVVPopUpWindow(url) { window.open(url,'popupWindow','toolbar=no,location =no,directories=no,status=no,menubar=no,scrollbars =no,resizable=no,copyhistory=no,width=600,height=2 33,screenX=150,screenY=150,top=150,left=150') } </script> <script language="javascript" type="text/javascript"><!-- var form = ""; As you can see in this link to my site ( Flutterby Gifts, Ormstowns Favorite Gifts Store, Ormstown, Quebec : HEADING_TITLE ) you can see what I mean. If anyone has the answer, please advise me. I'm lost.... |
|
#2
| |||
| |||
| go to catalog/includes/languages/english/index.php and find define heading title and in between the quotes put what you want |
| The Following User Says Thank You to bkpie For This Useful Post: | ||
flutterby (03-05-2008) | ||
|
#3
| |||
| |||
| Thanks bkpie, for the response, but to no avail! I have checked and double checked all the files I can think of in my limited (nill - nill+) knowledge of php. If I could pin point when this happened it would be easier. I will keep trying but if anybody can help me, please do. As always if I solve this in the meantime I will Post. |
|
#4
| |||
| |||
| Open the file I mentioned above with a php editor like alleycode at the bottom before the ?> you will see } elseif ($category_depth == 'top') { define('HEADING_TITLE', ''); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } Change it so it looks like this } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'Flutterby Gifts'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } The only thing I did was add Flutterby Gifts |
| The Following User Says Thank You to bkpie For This Useful Post: | ||
flutterby (03-05-2008) | ||
|
#5
| |||
| |||
| Thanks again; This is what is already in that location; } elseif ($category_depth == 'Home') { define('HEADING_TITLE', 'Welcome to Flutterby Gifts, Ormstowns Favorite Gift Shop'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Search Categories'); } ??? Terry. |
|
#6
| |||
| |||
| Ok not sure then did you check includes meta_tag.php case CONTENT_INDEX_DEFAULT: make sure all is correct? |
| The Following User Says Thank You to bkpie For This Useful Post: | ||
flutterby (03-05-2008) | ||
|
#7
| |||
| |||
| I know my Meta Tags are messed up, I have been looking at this but I dont know much about these things. I try though.... The only 3 mods I have done to this file are as follows ..........1 <?php // FILE: meta_tags.php // USE : This file controls the title, meta description, // and meta keywords of every page on your web site. // See the install docs for instructions. // define META_TEXT_PRICE in your includes/languages/english/index.php file if you want a price prefix // so for example add: "define('META_TEXT_PRICE', 'Price: ');" to this index.php file (without the outer double quotes) if(!defined(META_TEXT_PRICE)) define ('META_TEXT_PRICE', ''); // Define Primary Section Output define('PRIMARY_SECTION', ' : '); define('TITLE', 'Flutterby Gifts, Ormstowns Favorite Gifts Store, Ormstown, Quebec'); // Define Secondary Section Output define('SECONDARY_SECTION', ' - '); // Define Tertiary Section Output define('TERTIARY_SECTION', ', '); // Optional customization options for each language switch ($languages_id) { // English language case '1': //Extra keywords that will be outputted on every page $mt_extra_keywords = 'Ormstown,Gift,Flutterby,Flutterbygifts,flutterbyg ifts,ormstown,ormstown fair,exhibition,'; //Descriptive tagline of your web site $web_site_tagline = TERTIARY_SECTION . ''; break; ........2 define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . HEADING_TITLE . SECONDARY_SECTION . WEB_SITE_KEYWORDS); define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . HEADING_TITLE); break; case CONTENT_INDEX_DEFAULT: define('META_TAG_TITLE', TITLE . PRIMARY_SECTION . HEADING_TITLE . $web_site_tagline); define('META_TAG_DESCRIPTION', 'Flutterby Gifts, Ormstowns Favorite Gift Store, Ormstown, Quebec'. TITLE . PRIMARY_SECTION . HEADING_TITLE . SECONDARY_SECTION . 'Flutterby Gifts, Ormstowns Favorite Gift Store, Ormstown, Quebec'. WEB_SITE_KEYWORDS); define('META_TAG_KEYWORDS', 'Flutterby Gifts, Ormstowns Favorite Gift Store, Ormstown, Quebec'. WEB_SITE_KEYWORDS . HEADING_TITLE); break; ........3 case CONTENT_INDEX_PRODUCTS: if (isset($HTTP_GET_VARS['manufacturers_id'])) { $mt_manufacturer_query = tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $mt_manufacturer = tep_db_fetch_array($mt_manufacturer_query); define('META_TAG_TITLE', $mt_manufacturer['manufacturers_name'] . PRIMARY_SECTION . TITLE . $web_site_tagline); define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . $mt_manufacturer['manufacturers_name']) . SECONDARY_SECTION . WEB_SITE_KEYWORDS; define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . $mt_manufacturer['manufacturers_name']); } else { $mt_category_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$current_category_id . "' and language_id = '" . (int)$languages_id . "'"); $mt_category = tep_db_fetch_array($mt_category_query); define('META_TAG_TITLE', $mt_category['categories_name'] . PRIMARY_SECTION . TITLE . $web_site_tagline); define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . $mt_category['categories_name']) . SECONDARY_SECTION . WEB_SITE_KEYWORDS; define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . $mt_category['categories_name']); } break; I thank you for your trying to help me... |
|
#8
| |||
| |||
| Never mind my last post. I replaced my Meta tags file with a clean untouched file and the problem still exists. So the problem is not there... |
|
#9
| |||
| |||
| Still sounds like a define problem to me. Maybe a corrupted includes/languages/english.php Look at what files you have changed right before this problem occured. If not without knowing what else had been changed that would be my last shot. |
| The Following User Says Thank You to bkpie For This Useful Post: | ||
flutterby (03-05-2008) | ||
|
#10
| |||
| |||
| Thank you very much bkpie, This problem has been resolved. You were right, the includes/languages/english.php file was corrupt. I simply replaced with a clean/untouched file and the problem went away. I compared the two files several times by eyesight only (as I do not have a file compare program) and could not find any differences. But obviously there must have been something as all is well and good now. Thanky you so much for taking the time to help me out. It is much appreciated... Terry. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how do i change the colour of the HEADING_TITLE | alexkd | osCommerce 2.2 Modification Help | 1 | 02-09-2007 03:05 PM |
| replace HEADING_TITLE with category title | chrismole | osCMax v2 Customization/Mods | 3 | 06-30-2006 05:46 PM |
| How to make store 100% width and autoscale with browser? | Anonymous | osCMax v1.7 Discussion | 1 | 03-04-2004 01:06 AM |
| Browser problem | acemang | osCommerce 2.2 Modification Help | 1 | 04-10-2003 01:53 PM |