Results 1 to 10 of 3727

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Thanks for the reply.

    Unfortunately, making that edit simply prevents Zen Lightbox from doing its thing. The larger image opens in a new page -- no lightbox effect and not even the standard pop-up.

    I was just trying to be tidy. I'll leave both files where they are.

    Rob

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    Back in this post, I made note of potential problems when jQuery is loaded more than once, such as with ZLB. Although I wasn't aware that other modules also load jQuery when the module is used, the problem is still easily solved.


    Setup jQuery to be loaded all the time.

    includes/templates/YOUR_TEMPLATE/jscript/jscript_1jQuery.js

    jQuery must load before any scripts to be used with it. As Linux will list alphabetically and thus, Zen Cart will load alphabetically, I've had to use a naming schema like: jscript_1jquery.js in order to have a correct a load sequence.


    Now that jQuery is loaded globally, it does not does not need to be loaded again. I've already described, in this post, how to disable ZLB from loading jQuery and the same applies to any other module. Unfortunately, I don't know what file FEC uses to load jQuery so you will have to find it. Odds are though, it uses an 'echo' or 'require' in one of its PHP files and using // will comment out that line.

    Also, once you've commented out other modules from loading jQuery, you do not have to upload their jQuery file. This also allows you to determine what version of jQuery you want to use. Some of the newer jQuery stuff requires the newer version but usually, older jQuery scripts will still work with the newer version.

  3. #3
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Zen Lightbox...

    What would cause the image to open the image location when clicked and not open the image with the lightbox effect?

    I have double checked the download - all files are correctly placed, I did this on a test site and it works fine but getting the above on a clients live site.

    Any Ideas?

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    Would need a URL to see what you see.

  5. #5
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Zen Lightbox...

    Quote Originally Posted by Website Rob View Post
    Would need a URL to see what you see.
    Link to site

    Any help would be great - Thanks

  6. #6
    Join Date
    Nov 2009
    Posts
    285
    Plugin Contributions
    5

    Default Re: Zen Lightbox...

    Quote Originally Posted by rbarbour View Post
    Link to site

    Any help would be great - Thanks
    Did you run install.sql? Looking at the source for your site, I dont see any parts of ZLB being loaded.

    If you did run install.sql, do you have it enabled in your admin?

  7. #7
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Zen Lightbox...

    Zen Lightbox

    Zen Lightbox true
    Overlay Opacity 0.8
    Overlay Fade Duration 400
    Resize Duration 400
    Resize Transition false
    Initial Width 250
    Initial Height 250
    Image Fade Duration 400
    Caption Animation Duration 400
    Display Image Counter true
    Close on Image Click false
    Close on Overlay Click false
    Always show Prev / Next false
    Keyboard Navigation true
    Close Lightbox 27,88,67
    Previous Image 37,80
    Next Image 39,78
    Gallery Mode true
    Include Main Image in Gallery true
    EZ-Pages Support true
    File Types jpg,png,gif

    ran the install.sql file, above shows it enabled in admin.

 

 

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