Results 1 to 10 of 3727

Hybrid View

  1. #1

    Default Re: Zen Lightbox...

    Quote Originally Posted by thunder2010 View Post
    It's great mod. and i didn't find one better than it. So it's still there , But it's only not working for the main image and work for all sup images.

    Ok, so is the issue a layout issue of the product page (as indicated by your screen shots in your initial post), or is the issue one of the lightbox not functioning correctly.

    If it's a function issue, please list the specific issue you are experiencing, what you've done so far to troubleshoot it, and provide a link to the exact page where the problem exists
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Zen Lightbox...

    Quote Originally Posted by ScriptJunkie View Post
    Ok, so is the issue a layout issue of the product page (as indicated by your screen shots in your initial post), or is the issue one of the lightbox not functioning correctly.

    If it's a function issue, please list the specific issue you are experiencing, what you've done so far to troubleshoot it, and provide a link to the exact page where the problem exists
    He's having a layout issue. If you check this product:

    http://srokey.info/blackberry-storm-...ked-p-148.html

    You'll see that the main image isn't using Lightbox, but Lightbox is working fine on the secondary images. That's because he went back to the original tpl_modules_main_product_image.php because the one that came with the mod messed up the layout.

    Personally, I think it's just a matter of editing the file that comes with the mod in order to correct the layout.

  3. #3
    Join Date
    Aug 2010
    Location
    Egypt - USA
    Posts
    86
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by RescoCCC View Post
    He's having a layout issue. If you check this product:

    http://srokey.info/blackberry-storm-...ked-p-148.html

    You'll see that the main image isn't using Lightbox, but Lightbox is working fine on the secondary images. That's because he went back to the original tpl_modules_main_product_image.php because the one that came with the mod messed up the layout.

    Personally, I think it's just a matter of editing the file that comes with the mod in order to correct the layout.
    Yes, It's exactly as you say man.
    I need some one to tell me how i can edit [ tpl_modules_main_product_image.php ] to don't miss my product layout.
    when i upload the [ tpl_modules_main_product_image.php ] that comes with the mod it miss my layout and let the main image work in the mod as it should.
    But if i didn't change it my product layout still as it is now but the main image not work with the mod.
    So i need to make the main image work with the mod while keeping my product layout.

  4. #4

    Default Re: Zen Lightbox...

    Hi Thunder,

    Although ZLB has changed the way your product page layout appears, your issue is really a page layout issue, rather than a ZLB support issue.

    To ensure support of a general layout issue (even one caused by a mod), it is best to ask your question in the page layout section of the forum.

    Although someone in this ZLB support thread may choose to provide assistance, they will be able to more easily do so if you reinstall the ZLB file that you've removed: tpl_modules_main_product_image.php

    The kind of issue you're having is a really good example of why it's necessary to compare and merge common files before installing a mod.

    By that I mean...any file that comes with a mod that has a duplicate in your store which you've already customized for function or layout (such as tpl_modules_main_product_image.php)... the mod file and your own customized file need to be compared to one another and their changes merged together into a single new file, so that changes from both files are saved.

    Good luck and happy Zenning


    Quote Originally Posted by thunder2010 View Post
    Yes, It's exactly as you say man.
    I need some one to tell me how i can edit [ tpl_modules_main_product_image.php ] to don't miss my product layout.
    when i upload the [ tpl_modules_main_product_image.php ] that comes with the mod it miss my layout and let the main image work in the mod as it should.
    But if i didn't change it my product layout still as it is now but the main image not work with the mod.
    So i need to make the main image work with the mod while keeping my product layout.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  5. #5
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Zen Lightbox...

    Actually, his lightbox isn't working on any of his images because it's not fully installed.

    The functionality you see with the additional images zooming on mouseover is a function of the Image Handler mod - not this mod.
    If you click the images they are using ZLB.

  6. #6

    Default Re: Zen Lightbox...

    Quote Originally Posted by RescoCCC View Post
    If you click the images they are using ZLB.
    Yes, but since ZLB isn't properly/fully installed (the common file has been replaced by his original), ZLB is not handling his images - Image Handler is handling is images and is responsible for the zoom effect on mouseover.

    ZLB is not working at all on his site and will not work on his site until he properly installs it (replaces the file he removed).

    Only once ZLB is properly/fully installed on his site will anyone be able to troubleshoot his layout issue.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  7. #7
    Join Date
    Aug 2010
    Location
    Egypt - USA
    Posts
    86
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by ScriptJunkie View Post
    Yes, but since ZLB isn't properly/fully installed (the common file has been replaced by his original), ZLB is not handling his images - Image Handler is handling is images and is responsible for the zoom effect on mouseover.

    ZLB is not working at all on his site and will not work on his site until he properly installs it (replaces the file he removed).

    Only once ZLB is properly/fully installed on his site will anyone be able to troubleshoot his layout issue.
    I solved the problem buy edit [ tpl_modules_main_product_image.php ]
    the new file now contain :-
    <?php
    /**
    * Module Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 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 2006-03-19 16:48:57Z birdbrain $
    */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>
    <div id="productMainImage" class="centeredContent">
    <?php // bof Zen Lightbox 2008-12-15 aclarke

    if (ZEN_LIGHTBOX_STATUS == 'true') {
    if (ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
    $rel = 'lightbox-g';
    } else {
    $rel = 'lightbox';
    }
    } else {
    }
    ?>
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($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>
    <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>
    In fact the problem was in this line :-

    <div id="productMainImage" class="centeredContent back">
    I replaced it to be :-

    <div id="productMainImage" class="centeredContent">
    Also i removed some cods and edit the file to look like what i post and it work fine for me now.

  8. #8

    Default Re: Zen Lightbox...

    Actually, his lightbox isn't working on any of his images because it's not fully installed.

    The functionality you see with the additional images zooming on mouseover is a function of the Image Handler mod - not this mod.

    Quote Originally Posted by RescoCCC View Post
    He's having a layout issue. If you check this product:

    http://srokey.info/blackberry-storm-...ked-p-148.html

    You'll see that the main image isn't using Lightbox, but Lightbox is working fine on the secondary images. That's because he went back to the original tpl_modules_main_product_image.php because the one that came with the mod messed up the layout.

    Personally, I think it's just a matter of editing the file that comes with the mod in order to correct the layout.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

 

 

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