in the meta_tags.php file the code includes case 1 //extra keywords. why are they called extra keywords? if they are extra keywords, then where/what are the usual/normal keywords?
also, what are the secondary and tertiary sections output?
This is a discussion on meta tags: extra keywords, secondary & tertiary? within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; in the meta_tags.php file the code includes case 1 //extra keywords. why are they called extra keywords? if they are ...
in the meta_tags.php file the code includes case 1 //extra keywords. why are they called extra keywords? if they are extra keywords, then where/what are the usual/normal keywords?
also, what are the secondary and tertiary sections output?
Last edited by ridexbuilder; 11-16-2010 at 08:22 AM.
Hosting plans with installation, configuration, contributions, support and maintenance.
that doesn't answer the questions nor does it help any whatsoever, i'm not even sure why you wasted your time posting that. i've read the meta tag wiki pages and forum posts on meta tags and my questions still stand.
now that i see you are an oscmax developer i am even more chagrined by your thoughtless & smart aleck comment.
As per the wiki ...
Basically - osCmax dynamically adds the keywords from your product descriptions, categories, page titles, etc. This extra bit allows you to force certain words onto every page. You will have a clearer understanding if you view source on one of your pages ...//Extra keywords that will be outputted on every page
If you look at the code for includes/meta_tags.php you will see the Secondary and Tertiary sections shown as defines at the top - they basically split up the different keywords that are added to your meta tags. Ie. - , : etc.
Erm! He helpfully posted links to wiki which describes in some details about metatags. You may well have read this but how on earth is he meant to know this? Perhaps in your first post you should have said so!that doesn't answer the questions nor does it help any whatsoever, i'm not even sure why you wasted your time posting that. i've read the meta tag wiki pages and forum posts on meta tags and my questions still stand.
Eg. "Hi Guys, I know you do this for free and everything but I have read the wiki and I still don't understand the metatags stuff - could you explain ... "
I suspect that you will get more help and assistance with this approach instead of:
Which I am pretty sure will not endear RidexBuilder into helping you out in the future! He has posted nearly 2,000 reponses to questions here to help people out who are stuck and further more I really don't see what has upset you so much - where is the smart aleck comment? Are you upset by a link to the definition of Tertiary?now that i see you are an oscmax developer i am even more chagrined by your thoughtless & smart aleck comment.
Anyway - I hope the above answers your question.
Regards,
pgmarshall
_______________________________
extra implies above the normal, where and what are the normal keywords added to a page?
tertiary means 3rd, i'm aware of that. no where in the wiki does it inform me how tertiary is applied re: meta tags.
where and what is the tertiary instance of meta tags?
They are Dynamic - this means that they are added depending on the content of the page.extra implies above the normal, where and what are the normal keywords added to a page?
Most are structured as follows:
PRIMARY_SECTION = ":"define('META_TAG_TITLE', NAVBAR_TITLE_1 . PRIMARY_SECTION . TITLE . $web_site_tagline);
define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . NAVBAR_TITLE_1 . SECONDARY_SECTION . WEB_SITE_KEYWORDS);
define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . NAVBAR_TITLE_1);
SECONDARY_SECTION = "-"
TERTIARY_SECTION = ","
The PRIMARY, SECONDARY and TERTIARY are the dividers used between the meta tags and words - view source to see how this works ...
NAVBAR_TITLE = Is defined in the language files
TITLE = The page title
WEB_SITE_KEYWORDS = Basically your categories names + and extra keywords you added to the previously discussed stuff.
The query is as follows:
And that is basically it ...$mt_keywords_string ='';
$mt_categories_query = tep_db_query("select cd.categories_name from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."'");
while ($mt_categories = tep_db_fetch_array($mt_categories_query)) {
$mt_keywords_string .= $mt_categories['categories_name'] . ',';
pgmarshall
_______________________________
Bookmarks