Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

header.php


gailA

Recommended Posts

I don't quite understand where the data needs to be installed here. Like, where to put my title, meta and keywords tags. This Header.php is from Linda's controller.

 

 

<?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','[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','The WebMakers Corner');

define('HEAD_DESC_TAG_ALL','WebMasters and Wannabies alike, find the resources you need to develop your own site or sites for business.');

define('HEAD_KEY_TAG_ALL','webmasters webmakers domain domains virtual servers ecommerce shopping cart banners submissions advertising');

 

// DEFINE TAGS FOR INDIVIDUAL PAGES

 

// allprods.php

define('HTTA_ALLPRODS_ON','1'); // Include HEAD_TITLE_TAG_ALL in Title

define('HTKA_ALLPRODS_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords

define('HTDA_ALLPRODS_ON','1'); // Include HEAD_DESC_TAG_ALL in Description

define('HEAD_TITLE_TAG_ALLPRODS', 'All Products');

define('HEAD_DESC_TAG_ALLPRODS','WebMakers.com offers the finest in products for computers, households, movies, DVD and CD selections. Enjoy an exciting online shopping experience from the convenience of your own home.');

define('HEAD_KEY_TAG_ALLPRODS','Ajeh, webmakers webmaker WebMakers WebMaker webmasters webmaster domains web space hosting virtual servers ');

 

// index.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','Webmasters! Where to promote your web site. Consulting, Programing, Web Design and Maintenance, Hardware Sales, Computers, Memory, Ad Layout, Logo Design, Novelty Items, and more ...');

define('HEAD_KEY_TAG_DEFAULT','Ajeh, webmakers webmaker WebMakers WebMaker webmasters webmaster domains web space hosting virtual servers ');

 

// product_info.php - if left blank in products_description table these values will be used

define('HTTA_PRODUCT_INFO_ON','0'); // will not show HEAD_TITLE_TAG_ALL on product_info.php

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

 

// product_reviews_write.php - if left blank in products_description table these values will be used

define('HTTA_PRODUCT_REVIEWS_WRITE_ON','1');

define('HTKA_PRODUCT_REVIEWS_WRITE_ON','1');

define('HTDA_PRODUCT_REVIEWS_WRITE_ON','1');

define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_WRITE','');

define('HEAD_DESC_TAG_PRODUCT_REVIEWS_WRITE','');

define('HEAD_KEY_TAG_PRODUCT_REVIEWS_WRITE','');

?>

Link to comment
Share on other sites

for Linda's contribution it is all done through the admin when you enter the product description there is a part for meta tags

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...