Jump to content
Sign in to follow this  
ashanns

Dynami Title for index.php

Recommended Posts

Hi,

 

anybody had this problem for Header Tag controller?

 

I am having a problem with the header tags on anything related to index.php. Be it home page, categories page or manufacturer page

 

<title> HEAD_TITLE_TAG_DEFAULT </title>

<meta NAME="Description" Content="HEAD_DESC_TAG_DEFAULT my description text.">

<meta NAME="Keywords" CONTENT="my keywords HEAD_KEY_TAG_DEFAULT">

 

Why is the variable HEAD_TITLE_TAG_DEFAULT appearing on the titles?

 

Thanks

Ashanns

Share this post


Link to post
Share on other sites

chances are, the variable isn't defined. go to includes/languages/english.php. and look for

define(HEAD_TITLE_TAG_DEFAULT ...

if you find it, name it as you wish. my bet is that you may have accidentally deleted it, and will need to recreate it.

no biggy.

Share this post


Link to post
Share on other sites

I have infact defined this variable for all the pages. I am reproducing the code below.

 

<?php

// /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',STORE_OWNER_EMAIL_ADDRESS);

 

// 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','PC Games Game Boy PlayStation Xbox Game Cube');

define('HEAD_DESC_TAG_ALL','We offer wholesale prices for PC games, video games for xbox, playstation 1 and 2, gamecube, game boy advance and have all the games in Action, Adventure, Driving, Puzzle, Role-Playing, RPG, Sim, Simulation, Sports, and Strategy.');

define('HEAD_KEY_TAG_ALL','PS2,ps1,playstation,game boy advance,gamecube,xbox,nintendo,sony,pc games,action games,kids software,pc software,game reviews');

 

// 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_ALL','PC Games Game Boy PlayStation Xbox Game Cube');

define('HEAD_DESC_TAG_ALL','We offer wholesale prices for PC games, video games for xbox, playstation 1 and 2, gamecube, game boy advance and have all the games in Action, Adventure, Driving, Puzzle, Role-Playing, RPG, Sim, Simulation, Sports, and Strategy.');

define('HEAD_KEY_TAG_ALL','PS2,ps1,playstation,game boy advance,gamecube,xbox,nintendo,sony,pc games,action games,kids software,pc software,game reviews');

 

// 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','');

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','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','PC Game Reviews, Cheat Codes, Tips and Tricks');

define('HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO','');

define('HEAD_KEY_TAG_PRODUCT_REVIEWS_INFO','pc game reviews, cheat, game cheat codes,cheatcodes,tricks,tips,how to,howto');

 

?>

 

 

what do you think?

 

ashwani

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×