if someone wouldn't mind compiling a v 2.5.9, i have added a newsdesk support for the header tags controller
###Author
http://www.bristleconeweb.com - Jonathan Stanley
###Description
Very simple contribution. Articles written for your site can help generate free search engine traffic, however they work alot better if the title tags correspond. This contri will change the title tag to include the article and category in the following format:
article name: Blue Widget
category: Gadgets
store name: Joe's Toy World
*Title Tag would be: Blue Widget Gadgets Joe's Toy World
###Install Instructions
***note, in order to use this contribution you must have the newsdesk contribution as well as the webmakers header tags generator
***this has been tested and working with header tags v2.3 contribution combined with newsdesk 1.48.2
1)BACKUP
2)If this is a fresh install, you should be able to copy the header_tags.php file to /includes folder and you are done! Otherwise, open /includes/header_tags.php
3)Look for
// Define specific settings per page:
switch (true) {
4)Insert the following immediately after the switch statement
// NEWSDESK_INDEX.PHP etc
case ( strstr($_SERVER['PHP_SELF'],'newsdesk_index.php') or
strstr($PHP_SELF,'newsdesk_index.php') or
strstr($_SERVER['PHP_SELF'],'newsdesk_info.php') or
strstr($PHP_SELF,'newsdesk_info.php')):
$the_newsdesk_query = tep_db_query("
SELECT
categories_name
FROM
" . TABLE_NEWSDESK_CATEGORIES_DESCRIPTION . "
WHERE
categories_id = '" . $HTTP_GET_VARS['newsPath'] . "'
AND language_id='" . $languages_id . "'");
$the_newsdesk_category = tep_db_fetch_array($the_newsdesk_query);
$the_title = $the_newsdesk_category['categories_name'] . ' - ' . HEAD_TITLE_TAG_ALL;
if ($HTTP_GET_VARS['newsdesk_id'] != ''){
$the_newsdesk_id_query = tep_db_query("
SELECT
newsdesk_article_name
FROM
" . TABLE_NEWSDESK_DESCRIPTION . "
WHERE
newsdesk_id = '" . $HTTP_GET_VARS['newsdesk_id'] . "'
AND language_id='" . $languages_id . "'");
$the_newsdesk_article = tep_db_fetch_array($the_newsdesk_id_query);
$the_title = $the_newsdesk_article['newsdesk_article_name'] . ' ' . $the_title;
}
break;
5) Enjoy