+ Reply to Thread
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 0 Times in 0 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. #2
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    176
    Thanks
    2
    Thanked 13 Times in 12 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> 

  3. #3
    Junior Member scalemotorcars's Avatar
    Join Date
    May 2010
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 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.......

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

    Default

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

    Daniel

  5. #5
    Junior Member cvondra's Avatar
    Join Date
    May 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 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!

  6. #6
    Member dmm2020's Avatar
    Join Date
    Apr 2010
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 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.

  7. #7
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    176
    Thanks
    2
    Thanked 13 Times in 12 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.

  8. #8
    Member dmm2020's Avatar
    Join Date
    Apr 2010
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

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

+ Reply to Thread

Posting Permissions

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