Thread: Lightbox

Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Lightbox

    Just looking for a few opinions or advice here.

    Question 1: How much lightbox effects are to many?

    Reason: I want to get rid of messageStack & put it in a simple lightbox but I also have the images in a lightbox and the login in a lightbox.

    Question 2: Will this have any affect on the way zc functions?

    Thanks for your advice/opinion in advance!

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Lightbox

    Well I added the lightbox effect to messageStack & I don't think it is used enough to annoy potential shoppers/browsers.

    I have tested in all areas - only issue I found is when Display Cart After Adding Product value=false and you add product to cart (product_info page) - at this point I think the customer should go to cart.

    I tried an if statement to block lightbox, it still added product to cart but did not take them to it.

    this is the if statement I tried:
    Code:
    <?php
    
    	if ($current_page_base == 'product_info'){
      //do nothing
    }  else {
      // Display all header alerts via messageStack:
      if ($messageStack->size('header') > 0) {
        echo $messageStack->output('header');
      }
      if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
      echo htmlspecialchars(urldecode($_GET['error_message']));
      }
      if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
       echo htmlspecialchars($_GET['info_message']);
    } else {
    
    }
    }
    ?>
    Just FYI, open to suggestions!

  3. #3
    Join Date
    Jun 2009
    Location
    Kent, UK
    Posts
    347
    Plugin Contributions
    5

    Default Re: Lightbox

    may i ask how and where you implemented the lightbox code please?

 

 

Similar Threads

  1. v139h lightbox and IH2 - additional image not working in the lightbox
    By kitcorsa in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Aug 2013, 10:45 AM
  2. v150 LightBox
    By inteltronics in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 14 Oct 2012, 09:52 AM
  3. Zen Lightbox
    By ttmb33 in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 17 May 2012, 04:00 PM
  4. Lightbox problem on IE
    By manton in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Dec 2008, 04:31 PM
  5. Zen Lightbox
    By surrealcurly in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Jan 2007, 11:56 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