Jump to content

Stealth1

Members
  • Content count

    335
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Stealth1

  1. Stealth1

    [Contribution] Additional Images Module

    Todd - I understand help is voluntary but I would like to get this resolved as would others. You said above that the changes should be the same as the product_reviews.php, I have posted the code that I have in all 3 of the areas that this add-on isn't working and am hoping something can be pointed out as to why it isn't working. I have compared the files yet still the lightbox part isn't working. I have the following code above if (!tep_db_num_rows($product_info_query)) { // BOF: Additional Images: Added: , p.products_image_med, p.products_image_pop, p.products_image_description $product_info_query = tep_db_query("select p.products_id, p.products_model, p.products_image, p.products_image_med, p.products_image_pop, p.products_image_description, p.products_price, p.products_tax_class_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); // EOF: Additional Images I have the following above the </head> and I also have a setup without it but both are behaving the same <?php if (ENABLE_LIGHTBOX == 'true') { ?> <!-- BOF: Lightbox Contribution --> <script type="text/javascript" src="lightbox/prototype.js"></script> <script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script> <link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen"> <script type="text/javascript" src="lightbox/builder.js"></script> <script type="text/javascript" src="lightbox/lightbox.js"></script> <!-- EOF: Lightbox Contribution --> <?php } ?> <?php // EOF: Additional Images ?> And I have this code just below the line <?php if (tep_not_null($product_info['products_image'])) { ?> <?php // BOF: Additional Images: ?> <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_ADD_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($product_info['products_name']), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . (!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:$product_info['products_image'])) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), $product_info['products_name'], (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> <?php /* OLD CODE <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> */ // EOF: Additional Images: ?>
  2. Stealth1

    ShareThis Add-On?

    Is there a seperate add-on from that contribution or is it included? I have KissMT so Header Tags SEO isn't needed.
  3. Stealth1

    [Contribution] Additional Images Module

    No more support for this?
  4. Stealth1

    Template Design

    I have been using OSC for awhile now and the default style has been fine but i'm looking to improve upon the look of my store and mess around with the template. The main thing stopping me is i'm worried about it messing with the many add-ons I have installed. Does something like STS mess with the files that may have been modified for the add-ons I have? If I want to install a ready made template am I going to have to mess around with adding code for the add-ons into the new template files?
  5. Stealth1

    ULTIMATE Seo Urls 5 - by FWR Media

    Just a heads up that in the Google Sitemap Extra the following part is missing in the index.php file which means no changefreq is added when the sitemappages.xml file is created. define('GOOGLE_SITEMAP_PAGES_CHANGE_FREQ', 'weekly');
  6. Stealth1

    Google XML Sitemap SEO

    Ah, I have SEO URLs 5 which has an extra for using Google XML Sitemap and it left out the part for the pages sitemap ChangeFreq
  7. Stealth1

    Google XML Sitemap SEO

    It seems no changefreq is defined when that sitemap is created, this is causing google to show errors when you point it to this sitemap. I have manually added the changefreq but hoping this can be fixed.
  8. Stealth1

    All Products SEO

    Thanks, that seems to have fixed it
  9. Stealth1

    [Contribution] Additional Images Module

    Let me know what is wrong please so we can get this fixed. Thanks :)
  10. Stealth1

    All Products SEO

    I am having a little issue where I have blank products showing up in the all products page eventhough they don't appear to exist at all in my catalog in admin. And when you click the buy now button it adds the product to the cart and shows what the blank item actually is but then when you click the item in the cart it takes you to that product with another product id number. Blank Product is showing as product id 433 In Cart the product is linking to product id 452 Any thoughts?
  11. Stealth1

    Header Tags SEO

    Hmm, thats another option although then updating a products information, price etc would require me doing it tens of times. I made a thread here to see if anyone can help me with that though, http://forums.oscommerce.com/topic/355353-distinct-search-in-mysql/
  12. Stealth1

    Header Tags SEO

    In that situation though it would use the same META and Header information for that product in different sections though correct? I want the header tag and META to be slightly different for the product under each section but the product needs to be linked not duplicated otherwise it screws up the search and manufacturers sections in displaying the same product 10 times.
  13. Stealth1

    Header Tags SEO

    Jack, I was wondering if your contribution may fix an issue i'm having with KissMT. I have some products linked to many different sections of my site as this is how I have setup my navigation. With KissMT it pulls the Header Tags and Meta information from the database rather than using the cpath so no matter what section the product is viewed in it displays the header tag and Meta for the category it was originally created in.
  14. Any chance on getting my request sorted? I am hoping I don't have to remove KissMT.
  15. Stealth1

    Header Tags for novices

    Can anyone tell me if this contribution pulls the header tag based on the cpath or is it based on the product database info? I currently use KissMT and have an issue where I have products linked to multiple categories but the header tag and meta info is always the same as where the product was initially created. I need it to be based on the cpath of the product so when viewed in different sections it has the correct META and header tag.
  16. Stealth1

    [Contribution] Additional Images Module

    That only seems to have made things worse. Now it is only doing the original popupwindow and not the lightbox anymore I have the following code above if (!tep_db_num_rows($product_info_query)) { // BOF: Additional Images: Added: , p.products_image_med, p.products_image_pop, p.products_image_description $product_info_query = tep_db_query("select p.products_id, p.products_model, p.products_image, p.products_image_med, p.products_image_pop, p.products_image_description, p.products_price, p.products_tax_class_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); // EOF: Additional Images I have the following above the </head> and I also have a setup without it but both are behaving the same <?php if (ENABLE_LIGHTBOX == 'true') { ?> <!-- BOF: Lightbox Contribution --> <script type="text/javascript" src="lightbox/prototype.js"></script> <script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script> <link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen"> <script type="text/javascript" src="lightbox/builder.js"></script> <script type="text/javascript" src="lightbox/lightbox.js"></script> <!-- EOF: Lightbox Contribution --> <?php } ?> <?php // EOF: Additional Images ?> And I have this code just below the line <?php if (tep_not_null($product_info['products_image'])) { ?> <?php // BOF: Additional Images: ?> <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_ADD_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($product_info['products_name']), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . (!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:$product_info['products_image'])) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), $product_info['products_name'], (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> <?php /* OLD CODE <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> */ // EOF: Additional Images: ?>
  17. That makes sense, how could I have the cache files names changed to be like that? This should be part of the contribution as I am sure I am not the only one who uses the link product function. There is no other way to do this, making a duplicate product with a slightly different name would make the same product show up multiple times in the manufacturers and search and would confuse customers (ie. adding the model year for each section to the product name). I break my sections down to specific vehicle models as I target specific customers and this makes it easier for them to navigate to the parts for there car rather than navigating based on a category. I would have to completely change the store logic to do things any other way. It would require putting products into categories and then having drop downs that a customer would use to select there specific car and eliminate the products that don't work on there specific car. This is alot more work than it should be and IMO would turn customers away from wanting to purchase if it takes 10 clicks to find what your looking for. If you have an idea of how to fix this please let me know and I can test it out on my test site and get it working.
  18. Yes duplicating products is creating multiple instances of the same product, this is what I want to avoid as it would not only clutter up the manufacturers specific section but also search results would return multiple instances of the same product confusing customers. I am using the link product function which is putting the same product in a different category but it uses the same product id. The problem is the KissMT module is taking the META and Header Tag information from the original section the product was created in rather than using the data from the section the product is being viewed in at the time. In my specific instance this means the customer could be looking in the section for a 2004-2005 vehicle but because the initial creation of the product was in the 1998-2001 section the Header tags display 1998-2001 instead of 2004-2005 as does the META Tag.
  19. How difficult might this be?
  20. This is the only thing stopping me from launching my new site. I think this is a necessary fix as right now it makes linked products output the exact same META information when viewing the product in different categories.
  21. I almost think it should be standard to have the META and Header Tags be based on the actual category the product is being viewed in and not where it was created. As it sits now any product that is linked to other categories is going to have duplicate META and Header tags isn't it?
  22. I think this keeps getting missed, really hoping to get this fixed. Robert, have a question that i'm hoping you might be able to help with. I have SEO URLS 5 installed and this allowed me to maintain the section for a product that is linked into many sections. This was achieved by turning on cpath, although this adds the ugly cpath to the url it is much more functional. The only problem now is that the Text produced at the top of the browser is still from the original section that the product was inserted into. Is there anyway to have linked products change that part based on what section the product is viewed in?
  23. Stealth1

    [Contribution] Additional Images Module

    That only seems to have made things worse. Now it is only doing the original popupwindow and not the lightbox anymore I have the following code above if (!tep_db_num_rows($product_info_query)) { // BOF: Additional Images: Added: , p.products_image_med, p.products_image_pop, p.products_image_description $product_info_query = tep_db_query("select p.products_id, p.products_model, p.products_image, p.products_image_med, p.products_image_pop, p.products_image_description, p.products_price, p.products_tax_class_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); // EOF: Additional Images I have the following above the </head> and I also have a setup without it but both are behaving the same <?php if (ENABLE_LIGHTBOX == 'true') { ?> <!-- BOF: Lightbox Contribution --> <script type="text/javascript" src="lightbox/prototype.js"></script> <script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script> <link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen"> <script type="text/javascript" src="lightbox/builder.js"></script> <script type="text/javascript" src="lightbox/lightbox.js"></script> <!-- EOF: Lightbox Contribution --> <?php } ?> <?php // EOF: Additional Images ?> And I have this code just below the line <?php if (tep_not_null($product_info['products_image'])) { ?> <?php // BOF: Additional Images: ?> <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_ADD_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($product_info['products_name']), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . (!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:$product_info['products_image'])) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), $product_info['products_name'], (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> <?php /* OLD CODE <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> */ // EOF: Additional Images: ?>
  24. Stealth1

    Modern Template for RC2a

    Where do I need to make a change so the image enlarge button is displayed instead of the "click to enlarge" text?
×