Page 12 of 16 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 157
  1. #111
    Join Date
    Jan 2008
    Posts
    5
    Plugin Contributions
    0

    Default no product info showing

    hi,

    i've got a small problem with HB.

    I Have the latest version of image handler and the latest Zen Cart release.
    The hover works fine i'm getting large images showing when the mouse goes over an image but when i click to the product page nothing is show up i've got the site but no product info page i've racked my brains over this but can't figure out why this is happening.It's not Image handler as i installed that before hover box and it worked fine, i don't have any mods installed as i'm testing it on a clean install.

    i'm running PHP 4.4.7 on my remote server and my local server on my PC using easy PHP which runs 5.2.0 hte problem has happened on my remote and local servers...any ideas ??

    Thanks

  2. #112
    Join Date
    Jan 2008
    Posts
    5
    Plugin Contributions
    0

    Idea or Suggestion Re: New Product Images Add-on - HoverBox / Lightbox

    hi i have found the answer to my problem it was in the tpl_modules_main_product_image.php the old code was:

    <?php
    /**
    * Module Template
    *
    * @package templateSystem
    * @copyright Copyright 2007 iChoze Internet Solutions
    * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_modules_main_product_image.php 3208 2007-07-15 16:48:57Z tesuser $
    */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>
    <div id="productMainImage" class="centeredContent back">
    <?php
    if(HOVERBOX_ENABLED == 'Yes'){
    if(HOVERBOX_DISPLAY_TITLE == 'Yes'){
    $title = zen_clean_html($products_name);
    }else{
    $title='';
    }
    if(HOVERBOX_DISPLAY_PRICE == 'Yes'){
    if($specials_price){
    $price = ' - ' . $specials_price;
    }else{
    $price = ' - ' . $products_base_price;
    }
    }else{
    $price='';
    }
    echo '<a href="'. zen_hoverbox_IH2_url($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="hoverbox" title="' . $title . $price . '">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a><div class="lrgarea"><a href="'. zen_hoverbox_IH2_url($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) .'" rel="hoverbox" title="' . $title . $price . '"><img src="images/icpresent/vlrg-pinfo.gif" alt="View Larger" class="lrglink" /></a></div>';
    }else{
    ?>
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="javascriptopupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>
    <noscript>
    <?php
    echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </noscript>
    <? }?>
    </div>
    the first highlighted section i uncommented first ( if that made any difference i wasn't sure )BUT the main problem was the php tag online 42 so i changed the code to :

    <?php
    /**
    * Module Template
    *
    * @package templateSystem
    * @copyright Copyright 2007 iChoze Internet Solutions
    * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_modules_main_product_image.php 3208 2007-07-15 16:48:57Z tesuser $
    */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>
    <div id="productMainImage" class="centeredContent back">
    <?php
    if(HOVERBOX_ENABLED == 'Yes'){
    if(HOVERBOX_DISPLAY_TITLE == 'Yes'){
    $title = zen_clean_html($products_name);
    }else{
    $title='';
    }
    if(HOVERBOX_DISPLAY_PRICE == 'Yes'){
    if($specials_price){
    $price = ' - ' . $specials_price;
    }else{
    $price = ' - ' . $products_base_price;
    }
    }else{
    $price='';
    }
    echo '<a href="'. zen_hoverbox_IH2_url($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="hoverbox" title="' . $title . $price . '">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a><div class="lrgarea"><a href="'. zen_hoverbox_IH2_url($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) .'" rel="hoverbox" title="' . $title . $price . '"><img src="images/icpresent/vlrg-pinfo.gif" alt="View Larger" class="lrglink" /></a></div>';
    }else{
    ?>
    <script language="javascript" type="text/javascript">
    document.write('<?php echo '<a href="javascriptopupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    </script>
    <noscript>
    <?php
    echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </noscript>
    <?php }?>
    </div>
    that missing php tag was the cheese hope that helps as i realy liked this mod ! i can now install it on my main site !!

    THANKS!

  3. #113
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default Re: New Product Images Add-on - HoverBox / Lightbox

    Quote Originally Posted by stickytree View Post
    hi i have found the answer to my problem it was in the tpl_modules_main_product_image.php the old code was:



    the first highlighted section i uncommented first ( if that made any difference i wasn't sure )BUT the main problem was the php tag online 42 so i changed the code to :



    that missing php tag was the cheese hope that helps as i realy liked this mod ! i can now install it on my main site !!

    THANKS!
    Shorthand tag versus the full tag ... Thanks for pointing that out. Bad idea these days :)

  4. #114
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default HoverBox UPDATED v2.2

    HoverBox Updated v2.2 Now Available!

    Follow link in signature for download.

  5. #115
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default Re: HoverBox UPDATED v2.2

    Quote Originally Posted by testuser View Post
    HoverBox Updated v2.2 Now Available!

    Follow link in signature for download.
    • Now Compatible with all product types
    • Corrected 404 Errors being caused by HoverBox
    • Better Placement of HoverBox details for cross-browser compatibility
    • Additional Product images now group together

  6. #116
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    red flag Re: New Product Images Add-on - HoverBox / Lightbox

    Hi,

    I tried installing HoverBox the latest version but received the following error while running the sql. Please advise what I should do. Thanks in advance.

    1062 Duplicate entry '50' for key 1
    in:
    [INSERT INTO zen_configuration_group VALUES (50, 'HoverBox2', 'Settings for your HoverBox2', 4.50, 1);]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  7. #117
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: New Product Images Add-on - HoverBox / Lightbox

    Quote Originally Posted by dealbyethan.com View Post
    Hi,

    I tried installing HoverBox the latest version but received the following error while running the sql. Please advise what I should do. Thanks in advance.

    1062 Duplicate entry '50' for key 1
    in:
    [INSERT INTO zen_configuration_group VALUES (50, 'HoverBox2', 'Settings for your HoverBox2', 4.50, 1);]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    This is telling you that you already have something in that slot. Have you installed HoverBox before? If so, you don't need to worry about this, as the coinfiguration group will already be defined in your database.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #118
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    red flag Re: New Product Images Add-on - HoverBox / Lightbox

    That's quick. No this is fresh installation.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  9. #119
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: New Product Images Add-on - HoverBox / Lightbox

    Quote Originally Posted by dealbyethan.com View Post
    this is fresh installation.
    Of hoverbox? Or of Zen Cart? Either way, it sounds as though you may have tripped over a slightly naughty feature of this SQL statement where it tries to pop itself into a specific slot in the configuration groups file, even though, as seems to be the case for your Zen Cart, it's already occupied.

    You could try replacing the 50 with NULL and re-running it, or looking directly at the table and inserting a value that's not currently in use, or just entering all the values by hand through phpMyAdmin, leaving the first field blank and letting the database autoincrement it (which is what option 1 would do too).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #120
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Default Re: New Product Images Add-on - HoverBox / Lightbox

    Yup, problem solved by changing the id from 50 to the next available one and re-running the sql again.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

 

 
Page 12 of 16 FirstFirst ... 21011121314 ... LastLast

Similar Threads

  1. lightbox for a gallery NOT product additional images
    By BluGallagher in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Dec 2011, 12:06 AM
  2. Using lightbox to display multiple images in product description?Hi
    By Twaddle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Jun 2011, 03:13 PM
  3. How do I add lightbox images to a define page I have created?
    By matbourne in forum General Questions
    Replies: 0
    Last Post: 7 May 2009, 04:18 PM
  4. Lightbox not working with additional images on new template!
    By wildfashions in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Nov 2008, 05:16 PM
  5. Installed lightbox 1-4 on top of hoverbox 3 and now my products wont load in IE
    By canemasters in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 May 2008, 04:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR