Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

os1commerce2

Pioneers
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Real Name
    os1commerce2
  • Gender
    Not Telling

os1commerce2's Achievements

  1. 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
  2. sorry i must have replied to the wrong post. Just wanted to thank toasty for the contri and reihtec for his resolution to the empty dropdown menu issue
  3. THANK YOUUUUU!!!!!!!!!!! I have been troubleshooting this for hours now. Finally I get to enjoy this very nice contribution :D
×
×
  • Create New...