Jump to content

Shuey

Members
  • Content count

    70
  • Joined

  • Last visited

Posts posted by Shuey


  1. i've updated to the latest version easy meta tags, and unfortunately written over my old file. i've put in the tag above, however it does not pull the products_model.

     

    how can i modify the file so the model will also show up in the title?

     

    thanks for your continued help!

    dale

     

     

    can anyone help?


  2. Thanks for your help so far. I've added the headcontent tag and it's pulling the right info for some pages. My products pages, example: http://inveniotechnology.com/product_info....products_id=560 are pulling the meta tag information, however for other pages such as: http://inveniotechnology.com/networkdesign.php it is not pulling any information.

     

    Can anyone lend some assistance.

     

    Thanks,

    Dale

     

     

     

    I've figured out my problem. I didn't have the pages in the filenames.php file. Please disregard this email.


  3. $meta_title_tag = $product_meta['products_name'] . ' - ' . $product_meta['products_model'];

     

     

    i've updated to the latest version easy meta tags, and unfortunately written over my old file. i've put in the tag above, however it does not pull the products_model.

     

    how can i modify the file so the model will also show up in the title?

     

    thanks for your continued help!

    dale


  4. How the tags are marked in the different templates/STS versions might differ some.

     

     

    In regards to Easy Meta Tags in an STS shop it then uses the $headcontent tag to provide the meta info.

     

     

    For any more info on STS please head over to the STS support tread.

     

     

    Thanks for your help so far. I've added the headcontent tag and it's pulling the right info for some pages. My products pages, example: http://inveniotechnology.com/product_info....products_id=560 are pulling the meta tag information, however for other pages such as: http://inveniotechnology.com/networkdesign.php it is not pulling any information.

     

    Can anyone lend some assistance.

     

    Thanks,

    Dale


  5. I've installed the easy meta tags v1-6. On my index page and the product pages the meta tags are fine, however on other pages all that shows up is HEADING_TITLE. In those pages I've added the <?php include(DIR_WS_INCLUDES . 'easy_meta_tags.php'); ?> to the header. An example of this is http://inveniotechnology.com/clients.php.

     

    If anyone can provide any help it would be much appreciated.

     

    Thanks,

    Dale

     

     

     

    PLEASE DELETE THIS TOPIC. I MEANT TO POST IT IN STS FORUM. WILL RE-POST THERE.

     

    THX


  6. I've installed the easy meta tags v1-6. On my index page and the product pages the meta tags are fine, however on other pages all that shows up is HEADING_TITLE. In those pages I've added the <?php include(DIR_WS_INCLUDES . 'easy_meta_tags.php'); ?> to the header. An example of this is http://inveniotechnology.com/clients.php.

     

    If anyone can provide any help it would be much appreciated.

     

    Thanks,

    Dale


  7. i'm using STS and made a basic template, however with the template it doesn't pick up any meta tag info at all. i've followed the instructions for very easy 1-2-3 and made sure i have the following done:

     

    1) upload easy_meta_tags.php into the /includes/ folder

     

    2) in the index and product_info pages changed to <?php include(DIR_WS_INCLUDES . 'easy_meta_tags.php'); ?>

     

    3) made the changes to includes/modules/sts_inc/general.php

     

    $sts->start_capture();

    include(DIR_WS_INCLUDES . 'easy_meta_tags.php');

    $sts->stop_capture ('metatags');

     

    4) made the changes in includes/classes/sts.php

     

    locate this code:

     

    $this->template['headcontent'] = $this->template['headcontent'].$this->template['headertags']. "\n";

     

    and replace it by this code:

     

    $this->template['headcontent'] = $this->template['headcontent'].$this->template['metatags']. "\n";

     

     

    The only way I can get a meta tag to show up is if I put it in my template file. Is there something I need to put in my template file access the meta tag files?

     

    Thanks,

    Dale

     

     

     

    the only way i can get meta tags to appear (other then putting in manually in the template file) is to put <!--$headcontent--> into the template file.

     

    anyone with any suggestions?

     

    much appreciated,

    dale


  8. i'm using STS and made a basic template, however with the template it doesn't pick up any meta tag info at all. i've followed the instructions for very easy 1-2-3 and made sure i have the following done:

     

    1) upload easy_meta_tags.php into the /includes/ folder

     

    2) in the index and product_info pages changed to <?php include(DIR_WS_INCLUDES . 'easy_meta_tags.php'); ?>

     

    3) made the changes to includes/modules/sts_inc/general.php

     

    $sts->start_capture();

    include(DIR_WS_INCLUDES . 'easy_meta_tags.php');

    $sts->stop_capture ('metatags');

     

    4) made the changes in includes/classes/sts.php

     

    locate this code:

     

    $this->template['headcontent'] = $this->template['headcontent'].$this->template['headertags']. "\n";

     

    and replace it by this code:

     

    $this->template['headcontent'] = $this->template['headcontent'].$this->template['metatags']. "\n";

     

     

    The only way I can get a meta tag to show up is if I put it in my template file. Is there something I need to put in my template file access the meta tag files?

     

    Thanks,

    Dale


  9. Dale,

     

    1. Remove the blue box and then add a blue box/border to the CSS class "pageTitle" in your stylesheet. If you only want the blue box for the specials title but leave all of the other page titles untouched, create a new CSS class in your stylesheet and edit the name of the CSS class in specials.php to reflect the new class name.

     

    For example:

    Find:

    			<td class="pageTitle" id="pageTitle"><h1><?php echo HEADING_TITLE; ?></h1></td>

    Change it to something else such as:

    		   <td class="pageTitleSpecials" id="pageTitle"><h1><?php echo HEADING_TITLE; ?></h1></td>

     

     

     

    I want the blue box for every Page Title, not just Specials. How would I go about doing that?

     

    Thanks,

    Dale


  10. for a new site I am designing using STS, I want to move the page heading into the blue line above. So in this example, move "Specials This Month" into the blue line above and delete the corny image all together.

     

    How can I go about this?

     

    As well, how can I remove the border on the categories box on the left?

     

    Thanks,

    Dale

     

    rockthewatch.gif

     

     

    I hope everyone is having a great holiday. Does anyone know how I can move the line "Specials This Month" into the blue line I made above?

     

    Thanks,

    Dale


  11. for a new site I am designing using STS, I want to move the page heading into the blue line above. So in this example, move "Specials This Month" into the blue line above and delete the corny image all together.

     

    How can I go about this?

     

    As well, how can I remove the border on the categories box on the left?

     

    Thanks,

    Dale

     

    rockthewatch.gif


  12. Its possible by modifying includes/easy_meta_tags.php

     

    what would be the proper syntax?

     

    i changed it so it shows the model, but not sure of the syntax to also have it show the products_name? anyone?

     

    $meta_title_tag = $product_meta['products_model'];

     

     

    thanks


  13. I'm trying to figure out a way to use product attributes to allow for discounts when adding two or more options. For example.

     

    Option 1 - $822

    Option 2 - $822

    Option 3 - $822

     

    I would like to set it up so that if someone adds two options the price should be $1500 and if they add all three options the price would be $2100.

     

    How can I make that possible?

     

     

    Thanks!

    Shuey


  14. Thank you so much for your help!

     

    Here's as much info as I can provide:

     

    1) A Fresh Install from the May3 2006 from pnkranker version (perhaps I need to install something from a previous version). I didn't do any modificiations.

     

    2) I am using osCommerce 2.2-MS2

     

    Any other info I can provide?

     

    Thanks!


  15. I am receiving the following error when I click on to the calendar:

     

    All Events

    1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-10, 10' at line 1

     

    select *, DAYOFMONTH(start_date) AS event from events_calendar where (start_date >= '2006-07-22 17:43:05' or end_date >= '2006-07-22 17:43:05') and language_id = '1' order by start_date limit -10, 10

     

    [TEP STOP]

     

     

    Any help would be much appreciated.

     

    Thanks!

    Shuey


  16. I am receiving the following error when I press save to add a set to a product:

     

    1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '0,'+',1)' at line 1

     

    insert into products_attributes (products_id, options_id, options_values_id, options_values_price, price_prefix, sort_order) values (77,17,,0,'+',1)

     

    Any ideas? Much appreciated. This looks like it's going to be very very helpful and save countless hours!

     

    Thanks!

    Dale


  17. I have setup the dynamic metatags and when i look at the source code the description starts off with "Untitled Document". Is that normal? How can I get rid of it?

     

    Here is the source code for a product:

     

    <!-- begin dynamic meta tags query -->

    <!-- end dynamic meta tags query -->

     

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html dir="LTR" lang="en">

    <head>

    <!-- begin dynamic meta tags -->

    <title>Invenio Store: 01-SSC-BUND SonicWALL CSSA Training Bundle</title>

    <meta name="keywords" content="Invenio Store, SonicWALL CSSA Training Bundle, 01-SSC-BUND, SonicWALL">

    <meta name="description" content="

     

    Untitled Document

     

     

     

     

     

     

     

    Intended for a technical individual seeking CSSA certification and introduction to firewalls and SonicWALL configuration. This certification covers all SonicWALL firewall appliances.

     

     

    Bundle includes full package to prepare for exam:

     

     

    And here is the product_info.php:

     

     

      require('includes/application_top.php');

     

      require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);

     

      $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");

      $product_check = tep_db_fetch_array($product_check_query);

    ?>

    <!-- begin dynamic meta tags query -->

    <?php

    $the_product_info_query = tep_db_query("select pd.language_id, p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'" . " and pd.language_id ='" .  (int)$languages_id . "'");

        $the_product_info = tep_db_fetch_array($the_product_info_query);

    $the_product_name = strip_tags ($the_product_info['products_name'], "");

    $the_product_description = strip_tags ($the_product_info['products_description'], "");

    $the_product_model = strip_tags ($the_product_info['products_model'], "");

    ?>

    <?php

    $the_manufacturer_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . (int)$languages_id . "'), " . TABLE_PRODUCTS . " p  where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.manufacturers_id = m.manufacturers_id");

        $the_manufacturers = tep_db_fetch_array($the_manufacturer_query);

    ?>

    <!-- end dynamic meta tags query -->

     

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html <?php echo HTML_PARAMS; ?>>

    <head>

    <!-- begin dynamic meta tags -->

    <title><?php echo TITLE ?>: <?php echo $the_product_model; ?> <?php echo $the_product_name; ?></title>

    <meta name="keywords" content="<?php echo TITLE ?>, <?php echo $the_product_name; ?>, <?php echo $the_product_model; ?>, <?php echo $the_manufacturers['manufacturers_name']; ?>">

    <meta name="description" content="<?php echo $the_product_description . "," . $the_product_name; ?>">

    <!-- end dynamic meta tags -->

     

    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

     

     

    Many thanks,

    Shuey


  18. Thanks for the contribution. I installed it and it is working great.

     

    However, I was hoping it would be possible to NOT show the "Customers who bought this product also purchased" box if there are cross-sell items box "We also recommend:" box?

     

    Or just to eliminate the "Custoemr who bught this product also purchased" box if it is too much hassle.

     

    I changed the "also purchased" to zero in the configuration section but apparently both boxes are tied to this value.

     

     

    Any suggestions would be much appreciated.

     

     

    Many thanks,

    Shuey

×