Guest Posted February 8, 2003 Share Posted February 8, 2003 Downloaded the meta tags contrib. I did everything as stated, the only thing I didn't do was manually change all 35 files. I used dreamweaver and changed them all at once. Anyways thats all I did that is different than instructed and the meta tags aren't showing up. Any suggestions? Link to comment Share on other sites More sharing options...
toolcrazy Posted February 8, 2003 Share Posted February 8, 2003 You need to edit. /cataloge/includes/languages/english/header_tags.php And create your meta tags there. Steve ------------------------- Link to comment Share on other sites More sharing options...
toolcrazy Posted February 8, 2003 Share Posted February 8, 2003 // /catalog/includes/languages/english/header_tags.php // WebMakers.com Added: Header Tags Generator v2.0 // Add META TAGS and Modify TITLE // // DEFINITIONS FOR /includes/languages/english/header_tags.php // Define your email address to appear on all pages define('HEAD_REPLY_TAG_ALL',''); // 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 BEFORE the specific one for the page define('HEAD_TITLE_TAG_ALL','Embroidery Adventure'); define('HEAD_DESC_TAG_ALL','Hand made items and embroidery on paper note card, starter kits, and booster kits'); define('HEAD_KEY_TAG_ALL','embroidery, thread, card, cards, sewing, birthday, christmas, baby, stars, twine, paper, gifts, valentine, ms, multiple sclerosis'); // DEFINE TAGS FOR INDIVIDUAL PAGES // default.php define('HTTA_DEFAULT_ON','1'); // Include HEAD_TITLE_TAG_ALL in Title define('HTKA_DEFAULT_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords define('HTDA_DEFAULT_ON','1'); // Include HEAD_DESC_TAG_ALL in Description define('HEAD_TITLE_TAG_DEFAULT', ''); define('HEAD_DESC_TAG_DEFAULT','Hand made items and embroidery on paper note card, starter kits, and booster kits'); define('HEAD_KEY_TAG_DEFAULT','embroidery, thread, card, cards, sewing, birthday, christmas, baby, stars, twine, paper, gifts, valentine, ms, multiple sclerosis'); Here is mine, this is all Linda said to edit and forget the rest. Steve ------------------------- Link to comment Share on other sites More sharing options...
Ajeh Posted February 8, 2003 Share Posted February 8, 2003 You can always edit the rest of it, but that is the main area to address. Then you can even add on to it to get more specific in how you want pages to build the meta tags. I tried to make this very flexible so that there isn't much stopping you from getting exactly what you want in the meta tags. Just a little tweaking and coding here and there and you have everything ... :D If you don't like coding, then just define the definitions already included and that should handle the site rather well. Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 I've already done that....below is the code: // WebMakers.com Added: Header Tags Generator v2.0 // Add META TAGS and Modify TITLE // // DEFINITIONS FOR /includes/languages/english/header_tags.php // Define your email address to appear on all pages define('HEAD_REPLY_TAG_ALL','[email protected]'); // 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 BEFORE the specific one for the page define('HEAD_TITLE_TAG_ALL','Bare Sinsations Lingerie-Sexy Lingerie and Bridal Wear'); define('HEAD_DESC_TAG_ALL','Bare Sinsations Lingerie-Your Sexy Lingerie and Bridal Boutique featuring over 500 styles in mens and womens of fine lingerie up to size 4X.'); define('HEAD_KEY_TAG_ALL','lingerie sexy lingerie dancewear intimate dresses babydolls bridal bride wedding honeymoon bra bustier hosiery chemise corset crotchless panties clubwear full figured gown plus size, robe teddy tatiana bras bare sinsations bare sensations'); // DEFINE TAGS FOR INDIVIDUAL PAGES // default.php define('HTTA_DEFAULT_ON','1'); // Include HEAD_TITLE_TAG_ALL in Title define('HTKA_DEFAULT_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords define('HTDA_DEFAULT_ON','1'); // Include HEAD_DESC_TAG_ALL in Description define('HEAD_TITLE_TAG_DEFAULT', 'Bare Sinsations Lingerie-Sexy Lingerie and Bridal Wear'); define('HEAD_DESC_TAG_DEFAULT','Bare Sinsations Lingerie-Your Sexy Lingerie and Bridal Boutique featuring over 500 styles in mens and womens of fine lingerie up to size 4X. '); // product_info.php - if left blank in products_description table these values will be used define('HTTA_PRODUCT_INFO_ON','1'); define('HTKA_PRODUCT_INFO_ON','1'); define('HTDA_PRODUCT_INFO_ON','1'); define('HEAD_TITLE_TAG_PRODUCT_INFO',''); define('HEAD_DESC_TAG_PRODUCT_INFO',''); define('HEAD_KEY_TAG_PRODUCT_INFO',''); // products_new.php - whats_new define('HTTA_WHATS_NEW_ON','1'); define('HTKA_WHATS_NEW_ON','1'); define('HTDA_WHATS_NEW_ON','1'); define('HEAD_TITLE_TAG_WHATS_NEW','New Products'); define('HEAD_DESC_TAG_WHATS_NEW','I am ON PRODUCTS_NEW as HEAD_DESC_TAG_WHATS_NEW and over ride the HEAD_DESC_TAG_ALL'); define('HEAD_KEY_TAG_WHATS_NEW','I am on PRODUCTS_NEW as HEAD_KEY_TAG_WHATS_NEW and over ride HEAD_KEY_TAG_ALL'); // 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','1'); define('HTKA_SPECIALS_ON','1'); define('HTDA_SPECIALS_ON','1'); 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 put all the other files where they were needed and I made the tables as specified but it's not working. I've done something wrong I guess.... :cry: Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 I got the headers to work but when you click on a product I get this error: 1054 - Unknown column 'pd.products_head_title_tag' in 'field list' select pd.language_id, p.products_id, pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_keywords_tag, pd.products_head_desc_tag, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from products p, products_description pd where p.products_id = '303' and pd.products_id = '303' and pd.language_id ='1' [TEP STOP] What's wrong? Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 This is what it looks like when viewing the source: I see in description it is repeating itself...Dunno why <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- BOF: Generated Meta Tags --> <META NAME="Reply-to" CONTENT="[email protected]"> <META NAME="Description" Content="Bare Sinsations Lingerie-Your Sexy Lingerie and Bridal Boutique featuring over 500 styles in mens and womens of fine lingerie up to size 4X. Bare Sinsations Lingerie-Your Sexy Lingerie and Bridal Boutique featuring over 500 styles in mens and womens of fine lingerie up to size 4X."> <META NAME="Keywords" CONTENT="lingerie sexy lingerie dancewear intimate dresses babydolls bridal bride wedding honeymoon bra bustier hosiery chemise corset crotchless panties clubwear full figured gown plus size, robe teddy tatiana bras bare sinsations bare sensations HEAD_KEY_TAG_DEFAULT"> <title>Bare Sinsations Lingerie-Sexy Lingerie and Bridal Wear Bare Sinsations Lingerie-Sexy Lingerie and Bridal Wear Bustiers/Corsets</title> <!-- EOF: Generated Meta Tags --> Link to comment Share on other sites More sharing options...
Guest Posted February 9, 2003 Share Posted February 9, 2003 I deleted the tables and added them again in phpadmin and it worked. Guess soemthing just didn't take the first time. Link to comment Share on other sites More sharing options...
Ajeh Posted February 9, 2003 Share Posted February 9, 2003 I hate when the tables and code get fussy and don't do what I mean ... :shock: Glad it is working right for you now. :D Link to comment Share on other sites More sharing options...
Guest Posted February 9, 2003 Share Posted February 9, 2003 thanks Linda, love your contribs, You're great!!!!!!!! Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 I aime to please ... even better when it works right to boot. :wink: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.