Page 337 of 373 FirstFirst ... 237287327335336337338339347 ... LastLast
Results 3,361 to 3,370 of 3726
  1. #3361
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Lightbox...

    Quote Originally Posted by niestudio View Post
    No, the change should be fine. I've never seen a site that actually needed 15000 levels of depth. I guess they just want to be safe :)
    Probably not.. That actually comes from the template I'm using as the basis of the site template.. Every time I messed with the search forms's z-index, the search form stops working.. so I approached it the other way by adjusting the lightbox stylesheet.. but as long as I didn't harm anything, I'll leave well enough alone.. Thanks for the hand..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #3362
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    Not working and no sign of it under the Configuration menu in admin.

    Hi...thanks for this mod...I have it working on my old shop and am doing a clean install of 1.5.1 on another server.

    all the files are uploaded properly.

    My template is chosen properly in the admin.

    I ran the sql with PHPMyAdmin and feared I ran it twice so ran the uninstall sql.

    Ran the sql in the zen admin with these results: "5 statements processed"

    Any insights as to what is wrong appreciated.

    Code:
    Query Results:
    /** * Zen Lightbox * * @author Alex Clarke ([email protected]) * @copyright Copyright 2003-2005 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: install.sql 2008-12-17 aclarke $ */ INSERT INTO configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
    UPDATE configuration_group SET sort_order = LAST_INSERT_ID() WHERE configuration_group_id = LAST_INSERT_ID();
    SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';
    INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Zen Lightbox', 'ZEN_LIGHTBOX_STATUS', 'true', '
    If true, all product images on the following pages will be displayed within a lightbox:
    
    - document_general_info
    - document_product_info
    - page (EZ-Pages)
    - product_free_shipping_info
    - product_info
    - product_music_info
    - product_reviews
    - product_reviews_info
    - product_reviews_write
    
    Default: true', @cgi, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '
    Controls the transparency of the overlay.
    
    Default: 0.8', @cgi, 101, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''0.1'', ''0.2'', ''0.3'', ''0.4'', ''0.5'', ''0.6'', ''0.7'', ''0.8'', ''0.9'', ''1''), '), (NULL, 'Overlay Fade Duration', 'ZEN_LIGHTBOX_OVERLAY_FADE_DURATION', '400', '
    Controls the fade duration of the overlay.
    
    Note: This value is measured in milliseconds.
    
    Default: 400
    ', @cgi, 102, NOW(), NOW(), NULL, NULL), (NULL, 'Resize Duration', 'ZEN_LIGHTBOX_RESIZE_DURATION', '400', '
    Controls the speed of the image resizing.
    
    Note: This value is measured in milliseconds.
    
    Default: 400
    ', @cgi, 103, NOW(), NOW(), NULL, NULL), (NULL, 'Resize Transition', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'false', '
    Allows for custom control over the transition effect used to animate the lightbox.
    
    Default: false
    ', @cgi, 104, NOW(), NOW(), NULL, NULL), (NULL, 'Initial Width', 'ZEN_LIGHTBOX_INITIAL_WIDTH', '250', '
    If Enable Resize Animations is set to true, the lightbox will resize its width from this value to the current image width, when first displayed.
    
    Note: This value is measured in pixels.
    
    Default: 250
    ', @cgi, 105, NOW(), NOW(), NULL, NULL), (NULL, 'Initial Height', 'ZEN_LIGHTBOX_INITIAL_HEIGHT', '250', '
    If Enable Resize Animations is set to true, the lightbox will resize its height from this value to the current image height, when first displayed.
    
    Note: This value is measured in pixels.
    
    Default: 250
    ', @cgi, 106, NOW(), NOW(), NULL, NULL), (NULL, 'Image Fade Duration', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '400', '
    Controls the fade duration of images.
    
    Note: This value is measured in milliseconds.
    
    Default: 400
    ', @cgi, 107, NOW(), NOW(), NULL, NULL), (NULL, 'Caption Animation Duration', 'ZEN_LIGHTBOX_CAPTION_ANIMATION_DURATION', '400', '
    Controls the animation duration of the caption.
    
    Note: This value is measured in milliseconds.
    
    Default: 400
    ', @cgi, 108, NOW(), NOW(), NULL, NULL), (NULL, 'Display Image Counter', 'ZEN_LIGHTBOX_COUNTER', 'true', '
    If true, the image counter will be displayed (below the caption of each image) within the lightbox.
    
    Default: true', @cgi, 109, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'Close on Image Click', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'false', '
    If true, the lightbox will close when the image being displaying is clicked.
    
    Default: false', @cgi, 110, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Close on Overlay Click', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '
    If true, the lightbox will close when the overlay is clicked.
    
    Default: false', @cgi, 111, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Always show Prev / Next', 'ZEN_LIGHTBOX_PREV_NEXT', 'false', '
    If true, the lightbox will always show Previous & Next buttons when using additional images. NOTE: This setting will be overwritten automatically when Close on Image Click is set to TRUE.
    
    Default: false', @cgi, 112, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Keyboard Navigation', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'true', '
    If true, keyboard inputs will also be used to control the lightbox.
    
    Default: true', @cgi, 200, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Close Lightbox', 'ZEN_LIGHTBOX_ESCAPE_KEYS', '27,88,67', '
    The lightbox will close when any of these keys are pressed.
    
    Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).
    
    Default: 27,88,67
    ', @cgi, 201, NOW(), NOW(), NULL, NULL), (NULL, 'Previous Image', 'ZEN_LIGHTBOX_PREVIOUS_KEYS', '37,80', '
    The lightbox will display the previous image (if available) when any of these keys are pressed.
    
    Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).
    
    Default: 37,80
    ', @cgi, 202, NOW(), NOW(), NULL, NULL), (NULL, 'Next Image', 'ZEN_LIGHTBOX_NEXT_KEYS', '39,78', '
    The lightbox will display the next image (if available) when any of these keys are pressed.
    
    Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).
    
    Default: 39,78
    ', @cgi, 203, NOW(), NOW(), NULL, NULL), (NULL, 'Gallery Mode', 'ZEN_LIGHTBOX_GALLERY_MODE', 'true', '
    If true, the lightbox will allow additional images to quickly be displayed using previous and next buttons.
    
    Default: true', @cgi, 300, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'Include Main Image in Gallery', 'ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE', 'true', '
    If true, the main product image will be included in the lightbox gallery.
    
    Default: true', @cgi, 301, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'EZ-Pages Support', 'ZEN_LIGHTBOX_EZPAGES', 'true', '
    If true, the lightbox effect will be used for linked images on all EZ-Pages.
    
    Default: true', @cgi, 400, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'File Types', 'ZEN_LIGHTBOX_FILE_TYPES', 'jpg,png,gif', '
    On EZ-Pages, the lightbox effect will be applied to all images with one of the following file types.
    
    Default: jpg,png,gif
    ', @cgi, 401, NOW(), NOW(), NULL, NULL);
    /* zencart 1.5 mods */ INSERT INTO admin_pages (page_key ,language_key ,main_page ,page_params ,menu_key ,display_on_menu ,sort_order)VALUES ('configZenLightbox', 'BOX_CONFIGURATION_ZEN_LIGHTBOX', 'FILENAME_CONFIGURATION', CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi);

  3. #3363
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    Got it working...ran the uninstall and the install in phpMyadmin....a few times.....finally kicked in????...some server delay I guess.

    Looks great...thank you

  4. #3364
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    What I mean is it is working...but still not in the Configuration drop down menu in admin

  5. #3365
    Join Date
    Oct 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Hi there
    I'm hoping there is someone out there. I'm doing an upgrade of a shop running Zen Car 1.3.7.1 to 1.5.1. I have everything ready to go, the shop down for maintenance and I had only to remove Image Handler and Lightbox from the database before proceeding. However, I can't find an uninstall.sql script for Lightbox 1.4 which is the version installed on the store. I've redownloded the zip of 1.4 and there isn't one in there. I tried running the version 5 one, but that said that there was nothing to change.

    Please can someone help me? I take it I do need to remove it prior to setting up all my newly changed files and upgrading the database?

    Any help gratefully received (I thought this was going to be the easy bit!)

    RoPey

  6. #3366
    Join Date
    Oct 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Sorry - that last post should say 'I've tried running the version 1.5 one'....

    RoPey

  7. #3367
    Join Date
    Nov 2009
    Posts
    285
    Plugin Contributions
    5

    Default Re: Zen Lightbox...

    I came into the project later than 1.4, so I'm not really familiar with it, but I looked at the install.txt file and it has some delete functionality built in, BUT it reinstalls itself right away.

    Try running just this top part:

    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Zen Lightbox';
    DELETE FROM configuration WHERE configuration_group_id = @t4;
    DELETE FROM configuration_group WHERE configuration_group_id = @t4;

  8. #3368
    Join Date
    Oct 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    That seems to have done something - I have to confess I'm unsure what. However, it came back with:
    Query Results:
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4 FROM zen_configuration_group WHERE configuration_group_title= 'Zen Lightbox';
    DELETE FROM zen_configuration WHERE configuration_group_id = @t4;
    DELETE FROM zen_configuration_group WHERE configuration_group_id = @t4;

    Can you help me understand what that has done?

    ​Thank you so much for the reply!

  9. #3369
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Lightbox...

    Quote Originally Posted by RoPey View Post
    That seems to have done something - I have to confess I'm unsure what. However, it came back with:
    Query Results:
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4 FROM zen_configuration_group WHERE configuration_group_title= 'Zen Lightbox';
    DELETE FROM zen_configuration WHERE configuration_group_id = @t4;
    DELETE FROM zen_configuration_group WHERE configuration_group_id = @t4;


    Can you help me understand what that has done?

    ​Thank you so much for the reply!
    It removes the lightbox configuration group table and configuration table entries. (the ones that drive the Zen Lightbox admin menu)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #3370
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    978
    Plugin Contributions
    6

    Default Re: Zen Lightbox...

    FYI

    Revisiting how to move the Prev/Next buttons clear above image and then restore truncated bottom of image within the popup, as first raised for v1.6.2 in http://www.zen-cart.com/forum/showpo...postcount=2791, I made the following changes in stylesheet_zen_lightbox.css for v1.6.4:

    Code:
    #lbImage {
    	position: absolute;
    	left: 0;
    	top: 22px; /* was 0, may need to be increased to 32px to clear border thickness, if coloured differently. */
    	border: 10px solid #fff; /* if desired */
    	background-repeat: no-repeat;
    	padding-bottom:12px; /* added to restore bottom of image */
    	}
    
    #lbPrevLink, #lbNextLink {
    	display: block;
    	position: absolute;
    	top: -32px; /* 0 */ /* Note the minus sign */
    	width: 50%;
    	height:auto;
    	outline: none;
    	}
    
    
    #lbCaption, #lbNumber {
    	clear:both; /* added */
    	text-align:center; /* added */
    	}
    Cheers

 

 

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