osCmax v2.5 User Manual
Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Product Image Ajax Lightbox Popup

This is a discussion on Product Image Ajax Lightbox Popup within the osCmax Projects Discussion forums, part of the osCmax v2.0 Forums category; I have updated and rebuilt the package with instructions. Please download it again....

      
  1. #11
    osCMax Testing Team
    Join Date
    Sep 2005
    Posts
    18
    Rep Power
    0


    Default Re: Product Image Ajax Lightbox Popup

    I have updated and rebuilt the package with instructions. Please download it again.

  2. #12
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: Product Image Ajax Lightbox Popup

    It works as described and I didn't have to change my mopics settings either as it's working with the thumbnails in the images directory.
    John

  3. #13
    osCMax Testing Team
    Join Date
    Mar 2008
    Location
    The Netherlands
    Posts
    37
    Rep Power
    0


    Default Re: Product Image Ajax Lightbox Popup

    Ok, i just tested the new package and it still isn't working if i add your code to my product_info.tpl then i get a error message

    Error!

    Unable to determine the page link!

    I also noticed that you use a older version of OSCmax can this be the problem because if code changes between these versions ?

    further there no modifications to my product_info.tpl.

  4. #14
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: Product Image Ajax Lightbox Popup

    I'm using RC3.01 and it's working. Is Mopics working for you? It sounds like there is something in your product_info.tpl that ins't correct becaust it will display the page even if lightbox isn't working.

    zip up your product_info.tpl here and I'll compare them.
    John

  5. #15
    osCMax Testing Team
    Join Date
    Sep 2005
    Posts
    18
    Rep Power
    0


    Default Re: Product Image Ajax Lightbox Popup

    That's a common error in oscommerce. Does that error occur just on product pages? What PHP version are you using?

  6. #16
    osCMax Testing Team
    Join Date
    Mar 2008
    Location
    The Netherlands
    Posts
    37
    Rep Power
    0


    Default Re: Product Image Ajax Lightbox Popup

    i took a clean product_info.tpl to test it out and just added the Lightbox code and then i get this error if i use the standard file everything works also mopics. i use PHP5 don't know the exact version atm because im at work and not behind my PC.

    /edit,
    just got home from work and i checked, i'm running
    PHP Version 5.2.4
    Last edited by Gizmor; 05-22-2008 at 09:14 PM.

  7. #17
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: Product Image Ajax Lightbox Popup

    For anyone using this mod - if you read the instructions on the authors home page it is possible to very easily allow user to use the next and prev buttons in the ligthbox to scroll through the additional images you have in mopics by simply adding

    rel="lightbox[group]" into the href code
    2 occurances in product_info.tpl.php page &
    1 occurance in dynamic_mopics.php
    Hope this helps,

    pgmarshall

  8. #18
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: Product Image Ajax Lightbox Popup

    I recently switched to slimbox 2 which uses JQuery and is smaller and lighter script. There's not a contribution for it but it was easy to implement. You can find links to it on the JQuery site.
    John

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Fancy Lightbox Popup
    By michael_s in forum New osCommerce Contributions
    Replies: 1
    Last Post: 02-17-2008, 09:40 AM
  2. Fancy Lightbox Popup
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-09-2007, 03:33 AM
  3. LIGHTBOX Image for STS
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-08-2007, 10:32 AM
  4. LIGHTBOX Image for STS
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 08-30-2007, 11:11 AM
  5. LIGHTBOX Image for STS
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-25-2007, 05:55 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
  •