Page 262 of 373 FirstFirst ... 162212252260261262263264272312362 ... LastLast
Results 2,611 to 2,620 of 3726
  1. #2611
    Join Date
    Nov 2009
    Posts
    285
    Plugin Contributions
    5

    Default Re: Zen Lightbox...

    Quote Originally Posted by rstevenson View Post
    Hi folk,

    I'm redoing my retail site. I've installed both Fast & Easy Checkout and Zen Lightbox. Both install the file jquery-1.4.4.min.js

    Zen Lightbox puts it into includes/templates/MyTemplate/jscript/

    FEC puts it into includes/templates/MyTemplate/jscript/jquery/

    My editor says the files are identical. Can I remove one of them? If so, which one?

    Thanks,

    Rob
    I wouldn't remove either, because the code will still be looking for it.
    Instead tell the code not to look for it anymore. see the discussion here http://www.zen-cart.com/forum/showpo...postcount=2476

    note: there was a follow up. the code should have been
    PHP Code:
    //echo'<script type …… 
    the // before the echo

    daniel

  2. #2612
    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

  3. #2613
    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.

  4. #2614
    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?

  5. #2615
    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.

  6. #2616
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by niestudio View Post
    Generally you just need gallery mode enabled in the ZLB admin area.
    can you post a link to your site?
    I have it turned on in Admin , dso they have to be named the same but with the _1, _2 etc..

    Test tite ATM

    www.moon-dream.co.uk

  7. #2617

    Default Re: Zen Lightbox...

    Quote Originally Posted by psvialli View Post
    do they have to be named the same but with the _1, _2 etc..
    Yes, they do. Zen Lightbox follows the same file naming/file structure protocol that Zen Cart does. Here's a tutorial on the subject.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  8. #2618
    Join Date
    Nov 2010
    Posts
    64
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I don't know if anyone noticed but the error "Fixed model number display error on product_reviews page" in Version 1.6 has not been fixed. does anyone know a fix on this, the help would be greatly appreciated.
    That error on the review page looks pretty bad. I would look into it myself but I'm not very good with all the coding .
    Thanks.

  9. #2619
    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

  10. #2620
    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?

 

 

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

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