Results 1 to 10 of 3727

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Zen Lightbox...

    Actually, I just meant your readme Alex. its been awhile since I installed it... but it went through smooth from beginning to end with no issues at all.

    - Steven

  2. #2
    Join Date
    Mar 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I think I found a small bug of some sort or maybe your aware of it already? I am getting a javascript error using IE7 while browsing certin products.

    Error expected "j"

    I have tracked it down to:

    Code:
    <!-- begin lightbox v1.1 aclarke 2006-09-06 -->
    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="images/large/dvd/theres_something_about_mary_LRG.gif" rel="lightbox[gallery]" title="There's Something About Mary Linked"><img src="images/medium/dvd/theres_something_about_mary_MED.gif" alt="There\'s Something About Mary Linked" title=" There\'s Something About Mary Linked " width="150" height="120" /><br /><span class="imgLink">larger image</span></a>');
    //--></script>
    It seems like the ' in There's Something About Mary, causes an error. If I take the ' out of the title the error goes away.

    Thanks in advanced
    Last edited by vip26; 22 Mar 2007 at 07:02 AM.

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Yup special characters like ' need to be escaped like \' otherwise they mess things up
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #4
    Join Date
    Mar 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Isnt there something equivalent to php's "stripslashes" that can work here, because using the \' doesnt work here, I still get the error.
    Last edited by vip26; 23 Mar 2007 at 05:23 AM.

  5. #5
    Join Date
    Mar 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I dont know how I ended up with 1.1, but upgrading to 1.3 fixed it.

  6. #6
    Join Date
    Feb 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Hi,

    I really love this mod, unfortunately when i installed it, i could only get the main image to pop up and the additional image wouldn't it would just look like it was loading. I have zen 1.3.7. does that already have IH on it? because when i read through this thread after not being able to get the additional image to pop up i tried to install the image handler which worked great but it took out the image of the main picture on the product page and replaced it with an x imageholder but when you clicked it it worked fine and so did the additioanal picture, so i figured well maybe i can go back into admin and try to go tot eh prodcut listing mod and readd the image in the admin portion, but when i tried to go to admin i got some bizarrre page that said this.


    --- Z:\Downloads\ZenCart\zen-cart-v1.3.5-full-fileset-09032006\zen-cart-v1.3.5-full-fileset-09032006\admin\includes\modules\category_product_l isting.php Tue Mar 14 00:27:34 2006 +++ Z:\Downloads\ZenCart\image-handler_2.0-zc13\image-handler_2.0-zc13\admin\includes\modules\category_product_listi ng.php Mon May 01 15:46:02 2006 @@ -4,7 +4,7 @@ * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 - * @version $Id: category_product_listing.php 3182 2006-03-14 04:27:33Z ajeh $ + * @version $Id: category_product_listing.php,v 1.1 2006/04/14 13:42:13 tim Exp $ */ if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access'); @@ -324,6 +324,7 @@


    this happend after i did the IH handler. so i tried to back out because i didn't actually replace any template files, just renamed the original ones in the same directory but no go so i ended up doing a total restore from my web hosting company.

    So now my issue is , I reaaly want this feature, how should i go about doing it?

  7. #7
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Zen Lightbox...

    First I highly recommend installing Zen Cart in a directory closer to your root.

    Something like /home/your_account/public_html/your_shop/

    If running on Windoze then the path would be a bit different but you get the picture (or if your hosting provider is installing they should understand).

    Name your shop directory (and if in your control other directories in your path) something short and sweet.

    Not:
    Z:\Downloads\ZenCart\zen-cart-v1.3.5-full-fileset-09032006\zen-cart-v1.3.5-full-fileset-09032006

    And installing IH2 in directory below is incorrect. The mod (like all mods) must be installed within the shop sub-directory structure.

    Z:\Downloads\ZenCart\image-handler_2.0-zc13\image-handler_2.0-zc13\

    Can you see that your Zen Cart shop directory and the path to the IH2 file are completely different?

    Are you certain these were the server paths displayed in your error messages? Or did you just cut and paste paths from your local client directory listings. That is not a good method to report errors if you want others to help you.

    So I suggest the following order:
    1. Do a "proper" install of Zen Cart 1.37
    2. Play with your new shop for awhile to be sure all is ok.
    3. Backup database & files on server.
    4. Install Image Handler 2.
    5. Play with IH2 functions for awhile to achieve an understanding of IH2 nuances (it may take awhile to become comfortable with IH2).
    6. Backup database & files on server.
    7. Install Zen Lightbox.
    8. Test functionality of Zen Lightbox

    Then report back.

    Woody

  8. #8
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Zen Lightbox...

    Quote Originally Posted by divekathster View Post
    this happend after i did the IH handler. so i tried to back out because i didn't actually replace any template files, just renamed the original ones in the same directory but no go so i ended up doing a total restore from my web hosting company.
    Sometimes (often but not always) just renaming the files (e.g. adding .bak suffix) and allowing them remain in the directory can be problematic. A better rule is to download the files to be replaced to a back-up directory on your local client and then upload the updated files onto the server (overwriting previous versions). And sometimes you will want to first delete the target file on the server before uploading the new file version (rather than simply overwriting).

    Probably needless to repeat, but I will do it again anyway, it is best practice to backup before installing any mods.

    Yes the lightbox function is "cool". Check out the demo sites listed in this thread to decide if you want that functionality or not. This practice is suggested before installing any mod. That is ask yourself if the added code/features/functions will likely add to the end-user "experience" and help you increase sales, or whatever gaols you may have for your shop.

    Good luck,
    Woody

 

 

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