Results 1 to 8 of 8

Thread: Lightbox integration

  1. #1
    Junior Member cvondra's Avatar
    Join Date
    May 2010
    Posts
    13
    Thanks
    0
    Thanked 19 Times in 4 Posts

    Default Lightbox integration

    Trying to integrate lightbox functionality in. Problem is there is no head tags in the product_info.php file to insert

    Code:
    <link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen" />
    <script type="text/javascript" src="lightbox/prototype.js"></script>
    <script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script>
    <script type="text/javascript" src="lightbox/lightbox.js"></script>
    I really appreciate the work you've done on this it has been great. Could you hook me up on this issue?

  2. The Following 4 Users Say Thank You to cvondra For This Useful Post:

    kescotekosek (14-08-2013),lrybuywejewe (02-10-2013),nbrregiordthor (27-11-2012),tasaraheache (26-11-2012)

  3. #2
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    187
    Thanks
    2
    Thanked 499 Times in 113 Posts

    Default

    Hi,

    You will need to change the paths as well.

    Add after this about line 23:

    PHP Code:
      require(DIR_WS_INCLUDES 'template_top.php');
    ?> 
    Add This:

    PHP Code:
    <link rel="stylesheet" href="packages/shop/css/lightbox.css" type="text/css" media="screen" />
    <
    script src="packages/shop/js/prototype.js" type="text/javascript"></script>
    <
    script src="packages/shop/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <
    script src="packages/shop/js/lightbox.js" type="text/javascript"></script

  4. The Following 4 Users Say Thank You to Greystoke For This Useful Post:

    kescotekosek (14-08-2013),lrybuywejewe (02-10-2013),nbrregiordthor (27-11-2012),tasaraheache (26-11-2012)

  5. #3
    Junior Member scalemotorcars's Avatar
    Join Date
    May 2010
    Posts
    10
    Thanks
    0
    Thanked 37 Times in 8 Posts

    Default

    First off thanks for this product. Man it took a long time for someone to figure this out... Way to go.

    So I downloaded lightbox2 and uploaded the files as you have them in the example above but its not working. I still get the regular OSC pop up.

    Do you thing we could get some more detailed instructions because Im sure this is a feature most of your customers will want.

    Again thanks...

    Daniel

    Just in case here's my install on the new site. Still lots to do but maybe you can check the source and see what I did wrong.

    HERE.......

  6. The Following 4 Users Say Thank You to scalemotorcars For This Useful Post:

    kescotekosek (14-08-2013),lrybuywejewe (02-10-2013),nbrregiordthor (27-11-2012),tasaraheache (26-11-2012)

  7. #4
    Junior Member scalemotorcars's Avatar
    Join Date
    May 2010
    Posts
    10
    Thanks
    0
    Thanked 37 Times in 8 Posts

    Default

    I got the email of the edited lightbox files and it works perfectly. Thanks again....

    Daniel

  8. The Following 4 Users Say Thank You to scalemotorcars For This Useful Post:

    kescotekosek (14-08-2013),lrybuywejewe (02-10-2013),nbrregiordthor (27-11-2012),tasaraheache (26-11-2012)

  9. #5
    Junior Member cvondra's Avatar
    Join Date
    May 2010
    Posts
    13
    Thanks
    0
    Thanked 19 Times in 4 Posts

    Default

    I concur this worked perfectly Greystroke. I had to make a couple small changes but it worked. Now greedy me wants to do something different. We'll see if anyone else would like this added. We need to grow this beast so these guys can make some money of their work!

  10. The Following 4 Users Say Thank You to cvondra For This Useful Post:

    kescotekosek (14-08-2013),lrybuywejewe (02-10-2013),nbrregiordthor (27-11-2012),tasaraheache (26-11-2012)

  11. #6
    Member dmm2020's Avatar
    Join Date
    Apr 2010
    Posts
    45
    Thanks
    0
    Thanked 93 Times in 18 Posts

    Default

    Greystoke:

    Is the code you posted to this the working version?

    It seems that there were edits? Anyone want to post edits that were required to make it work? I too would like to use lightbox dialogs.

  12. The Following 4 Users Say Thank You to dmm2020 For This Useful Post:

    kescotekosek (14-08-2013),lrybuywejewe (02-10-2013),nbrregiordthor (27-11-2012),tasaraheache (26-11-2012)

  13. #7
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    187
    Thanks
    2
    Thanked 499 Times in 113 Posts

    Default

    Hi,

    LightBox v4.2 can be found here:
    http://www.itvault.com/osc_product_i...?products_id=7

    This is a working version with browser compatibility issues fixed.

  14. The Following 4 Users Say Thank You to Greystoke For This Useful Post:

    kescotekosek (14-08-2013),lrybuywejewe (02-10-2013),nbrregiordthor (27-11-2012),tasaraheache (26-11-2012)

  15. #8
    Member dmm2020's Avatar
    Join Date
    Apr 2010
    Posts
    45
    Thanks
    0
    Thanked 93 Times in 18 Posts

    Default

    Thanks...I will buy it at end of month when I have cash and install it.

  16. The Following 4 Users Say Thank You to dmm2020 For This Useful Post:

    kescotekosek (14-08-2013),lrybuywejewe (02-10-2013),nbrregiordthor (27-11-2012),tasaraheache (26-11-2012)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •