Results 1 to 10 of 3727

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Hi..

    I have IH2 installed, and have installed Lightbox.. When installing lightbox, on the product page, the entire page doesn't display.

    It cuts off write at:

    <div id="productMainImage" class="centeredContent back">
    <!-- bof Zen Lightbox v1.4 aclarke 2007-09-15 -->

    There is NO html code below that. If I overwirte with the original tpl_modules_main_product_image.php file from my template, everything works fine.. I can't find a bit of code in the lightbox modified file that would cause this. Any suggestions?

    Thanks
    Davi

  2. #2
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by dwessell View Post
    Hi..

    I have IH2 installed, and have installed Lightbox.. When installing lightbox, on the product page, the entire page doesn't display.

    It cuts off write at:

    <div id="productMainImage" class="centeredContent back">
    <!-- bof Zen Lightbox v1.4 aclarke 2007-09-15 -->

    There is NO html code below that. If I overwirte with the original tpl_modules_main_product_image.php file from my template, everything works fine.. I can't find a bit of code in the lightbox modified file that would cause this. Any suggestions?

    Thanks
    Davi
    I've narrowed it down to:

    if (ZEN_LIGHTBOX_STATUS == 'true') {

    echo '<script language="javascript" type="text/javascript"><!--
    document.write(\'<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($zen_lightbox_products_name) . '">' . 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>';

    } else {

    Code:
    echo '<script language="javascript" type="text/javascript"><!--
    document.write(\'<a href="javascript:popupWindow(\\\'' . 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>';
    
    }
    There's something in that code that stops the HTML output, but I can't been able to figure it out yet..

    Thanks
    David

  3. #3
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Sorry, screwed that code paste up.. The offending code is:

    Code:
    echo '<script language="javascript" type="text/javascript"><!--
    document.write(\'<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($zen_lightbox_products_name) . '">' . 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>';

  4. #4
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Fixed that previous issue. A file had not uploaded correctly. HOwever, now no lightbox displays. When you click on the image, it loads the full image directoy at http://straightrazordesigns.com/images/image.jpg.. I've double checked now and all files were uploaded correctly, and Lightbox is turned to on?

    Thanks
    David

    What does come out as HTML output is:

    Code:
    <!-- bof Zen Lightbox v1.4 aclarke 2007-09-15 -->
    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="images/cu41a.JPG" rel="lightbox[gallery]" title="Maestro Livi Custom 5 piece Cutlery Set and Block"><img src="bmz_cache/d/d7e23fc49b67e079cbd77e8a18be4f53.image.92x59.JPG" alt="Maestro Livi Custom 5 piece Cutlery Set and Block" title=" Maestro Livi Custom 5 piece Cutlery Set and Block " width="92" height="59" /><br /><span class="imgLink">larger image</span></a>')//--></script><!-- eof Zen Lightbox v1.4 aclarke 2007-09-15 -->

  5. #5
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    It seems that in the headers there is no reference to the JS files. Was there a file that was supposed to be overwritten that I missed? Or do I need to insert the references for those JS files manually?

    dw

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

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