Jump to content

anarcho

Members
  • Content count

    2
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Bernd Jakoby
  1. anarcho

    Header Tags SEO

    I downloaded HeaderTags_SEO_V_3.2.7.zip. in Use_if_version_greaterthan_2.3/Install_Admin.txt there are some errors: 1.replace: In admin/includes/filenames.php anywhere before the last ?>, ADD: /*** Begin Header Tags SEO ***/ define('FILENAME_HEADER_TAGS_SEO', 'header_tags_seo.php'); define('FILENAME_HEADER_TAGS_SILO', 'header_tags_seo_silo.php'); define('FILENAME_HEADER_TAGS_FILL_TAGS', 'header_tags_fill_tags.php'); define('FILENAME_HEADER_TAGS_TEST', 'header_tags_test.php'); /*** End Header Tags SEO ***/ with: In admin/includes/filenames.php anywhere before the last ?>, ADD: /*** Begin Header Tags SEO ***/ define('FILENAME_HEADER_TAGS_SEO', 'header_tags_seo.php'); define('FILENAME_HEADER_TAGS_FILL_TAGS', 'header_tags_fill_tags.php'); define('FILENAME_HEADER_TAGS_KEYWORDS', 'header_tags_seo_keywords.php'); define('FILENAME_HEADER_TAGS_SILO', 'header_tags_seo_silo.php'); define('FILENAME_HEADER_TAGS_TEST', 'header_tags_test.php'); /*** End Header Tags SEO ***/ 2.replace: In admin/includes/languages/english.php before the last ?>. Repeat for any other language you would like Header Tags SEO to work with. ADD: /*** Begin Header Tags SEO ***/ // header_tags_seo text in includes/boxes/header_tags_seo.php define('BOX_HEADING_HEADER_TAGS_SEO', 'Header Tags SEO'); define('BOX_HEADER_TAGS_ADD_A_PAGE', 'Page Control'); define('BOX_HEADER_TAGS_SILO', 'Silo Control'); define('BOX_HEADER_TAGS_FILL_TAGS', 'Fill Tags'); define('BOX_HEADER_TAGS_TEST', 'Test'); /*** End Header Tags SEO ***/ with: In admin/includes/languages/english.php before the last ?>. Repeat for any other language you would like Header Tags SEO to work with. ADD: /*** Begin Header Tags SEO ***/ // header_tags_seo text in includes/boxes/header_tags_seo.php define('BOX_HEADING_HEADER_TAGS_SEO', 'Header Tags SEO'); define('BOX_HEADER_TAGS_ADD_A_PAGE', 'Page Control'); define('BOX_HEADER_TAGS_FILL_TAGS', 'Fill Tags'); define('BOX_HEADER_TAGS_KEYWORDS', 'Keywords'); define('BOX_HEADER_TAGS_SILO', 'Silo Control'); define('BOX_HEADER_TAGS_TEST', 'Test'); /*** End Header Tags SEO ***/ 3.replace: In admin/includes/database_tables.php before the last ?>, ADD: /*** Begin Header Tags SEO ***/ define('TABLE_HEADERTAGS', 'headertags'); define('TABLE_HEADERTAGS_CACHE', 'headertags_cache'); define('TABLE_HEADERTAGS_DEFAULT', 'headertags_default'); define('TABLE_HEADERTAGS_SEARCH', 'headertags_search'); define('TABLE_HEADERTAGS_SILO', 'headertags_silo'); /*** End Header Tags SEO ***/ with: In admin/includes/database_tables.php before the last ?>, ADD: /*** Begin Header Tags SEO ***/ define('TABLE_HEADERTAGS', 'headertags'); define('TABLE_HEADERTAGS_CACHE', 'headertags_cache'); define('TABLE_HEADERTAGS_DEFAULT', 'headertags_default'); define('TABLE_HEADERTAGS_KEYWORDS', 'headertags_keywords'); define('TABLE_HEADERTAGS_SEARCH', 'headertags_search'); define('TABLE_HEADERTAGS_SILO', 'headertags_silo'); /*** End Header Tags SEO ***/ 4.replace: In admin/includes/languages/english/categories.php anywhere before the closing ?>. Repeat for any other language you would like Header Tags to work with. ADD: /*** Begin Header Tags SEO ***/ define('TEXT_PRODUCT_METTA_INFO', '<b>Meta Tag Information</b>'); define('TEXT_PRODUCTS_PAGE_TITLE', 'Product Title Tag:'); define('TEXT_PRODUCTS_HEADER_DESCRIPTION', 'Product Description Tag:'); define('TEXT_PRODUCTS_KEYWORDS', 'Product Keywords Tag:'); /*** End Header Tags SEO ***/ with: In admin/includes/languages/english/categories.php anywhere before the closing ?>. Repeat for any other language you would like Header Tags to work with. ADD: /*** Begin Header Tags SEO ***/ define('TEXT_PRODUCT_METTA_INFO', '<b>Meta Tag Information</b>'); define('TEXT_PRODUCTS_PAGE_TITLE', 'Product Title Tag:'); define('TEXT_PRODUCTS_HEADER_DESCRIPTION', 'Product Description Tag:'); define('TEXT_PRODUCTS_KEYWORDS', 'Product Keywords Tag:'); define('TEXT_PRODUCTS_LISTING_TEXT', 'Product Listing Text'); define('TEXT_PRODUCTS_SUB_TEXT', 'Product Page Sub Text:'); /*** End Header Tags SEO ***/
  2. anarcho

    Master Products - MS2

    Hi, thanks for your great work. I got this Version: osCommerce Online Merchant v2.3.1 and installed Master Products and Magic Variants for OSCOM V2.3x Version 2.0. The problem is, that when I) add the "normal" product attributes ("Send product as a gift" - yes/no as radio buttons), the "buy now" - Button doesnt work anymore, redirects me to the product instead of to the shopping cart. This piece of code in application_top does the redirect if there are attributes: // performed by the 'buy now' button in product listings and review page case 'buy_now' : if (isset($HTTP_GET_VARS['products_id'])) { if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])); } else { $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+1); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; Why does it redirect if a master has attributes ??? I tried this, but it doesnt add a product, just shows an empty cart: case 'buy_now' : if (isset($HTTP_GET_VARS['products_id'])) { $cart->add_cart($HTTP_GET_VARS['products_id'], 1); } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; What code do I have to change to make it work ? best wishes from Germany Bernd
×