Zen Cart Logo
Forums / All Other Contributions/Addons / Zen Lightbox addon [Support Thread]

Zen Lightbox addon [Support Thread]

Views: 952,720

Results 1,961 to 1,980 of 3,722
4 May 2010, 5:32 AM
#1961
uniqueliving avatar

uniqueliving

Zen Follower

Join Date:
Dec 2009
Location:
Gold Coast, Australia
Posts:
172
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

rlexyd:

Yes,
You would need to upload the zen_lightbox mod files which are found in this folder on your computer (zen_lightbox_1-51/includes/templates/YOUR-TEMPLATE-FOLDER) to your website's (includes/templates/classic) folder!

See how that goes.

Best Regards,

ok changed to green added light box to green template let me know what you think

4 May 2010, 5:42 AM
#1962
uniqueliving avatar

uniqueliving

Zen Follower

Join Date:
Dec 2009
Location:
Gold Coast, Australia
Posts:
172
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok i think it might be the template but im not sure as to how to fix it

4 May 2010, 7:13 AM
#1963
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
460
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

uniqueliving:

ok changed to green added light box to green template let me know what you think

Went to have a look at your website and still saw your custom template, you must have changed it back!

uniqueliving:

ok i think it might be the template but im not sure as to how to fix it

If you used the classic green template and it worked fine for you, then the problem must from your template, not much I can do for you there. Maybe create a new thread in the custom template/css section.

  1. Try checking your stylesheets.css, might be some broken links there.
    (Remember, you said it worked in the classic template, and that it also works fine in IE, but not in FF, which leads me to think the problem might your stylesheet!)
    You should download (Firebug in FF) and inspect it!

  2. I know I said this before, please make sure the required files have been uploaded in you custom template directory, check each and everyone!

  3. Try replacing just your custom stylesheet with the original classic stylesheet.css and see if that also makes a difference. That way you can tell for sure if it's from your custom stylesheet.

Last option, if the above doesn't work!
4) Try Uninstalling the whole zen_lightbox from your website, remove all uploaded folders and run the Uninstall.sql from your admin.
Then you can try re-installing it again, that might work.

Let us know how you went.

Best Regards,

14 May 2010, 7:53 PM
#1964
lissa8723 avatar

lissa8723

New Zenner

Join Date:
Feb 2010
Posts:
24
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Im new to this and could use some help.
I first tried fual slimbox and had problems so uninstalled that and installed zen lightbox. Now my only problem seems to be is at the bottom of the pictures I am getting ZEN_LIGHTBOX_COUNTER_IMAGE 1 ZEN_LIGHTBOX_COUNTER_OF 2

Of course it depends on the amounts pics.
If I have 5 then it will have the same thing up to 5.
Can someone please take a look and let me know what I need to do?

here

It does not do it on single pictures. Only on multiple images.
P.s sorry that you have to scroll down the page. My pictures are too large and need to be resized so they fit in the page better.

Thanks so much...

14 May 2010, 8:52 PM
#1965
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I had that same text at one time but I have looked thru all the files in the ones to upload and can't find where it is at...but I know it is one of them

I have large images too so people can see the details and mine are larger than yours...see link in my signature...so the size is fine...no sense (to my thinking) to have larger images if they are not going to be larger than the thumbnail and show little detail.

I have never had the next button nor the ability to see the additional ones either...so hopefully someone will be able to tell you what needs to be done, sorry

also i forgot to ask what version are you using...1.5?

15 May 2010, 1:56 AM
#1966
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Zen Lightbox addon [Support Thread]

I had that same text at one time but I have looked thru all the files in the ones to upload and can't find where it is at...but I know it is one of themThe file should be at \includes\languages\english\extra_definitions\YOUR_TEMPLATE\zen_lightbox.php
and contain the text.

I have never had the next button nor the ability to see the additional ones either...so hopefully someone will be able to tell you what needs to be done, sorryTwo locations for the images, the folder at \includes\templates\YOUR_TEMPLATE\buttons\english\zen_lightbox
should have the next, previous and closed buttons.
The other folder \includes\templates\YOUR_TEMPLATE\images\zen_lightbox
has just the spinner for loading progress.

File to edit for additional images is includes\modules\YOUR_TEMPLATE\additional_images.php test with script turned off... if the normal popup window works with additional images, then the lightbox should work too... if not, check your edits. Hope that helps out a bit...

15 May 2010, 2:24 AM
#1967
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

that is where i thought it would be too but this is the text that mine has---and this is from a fresh unzipped archive of the lightbox files:

<?php
/**
 * 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: zen_lightbox.php 2008-12-08 aclarke $
 */

define('ZEN_LIGHTBOX_VERSION', '1.5');
define('ZEN_LIGHTBOX_RELEASE_DATE', '2008-12-18');

define('ZEN_LIGHTBOX_ALT_PREVIOUS', 'Previous');
define('ZEN_LIGHTBOX_ALT_NEXT', 'Next');
define('ZEN_LIGHTBOX_ALT_CLOSE', 'Close');

define('ZEN_LIGHTBOX_COUNTER_IMAGE', 'Image');
define('ZEN_LIGHTBOX_COUNTER_OF', 'of');
?>

as for the other, frankly I don't remember editing anything and now I have IH2 also but still no next or previous buttons showing nor do they go from one image to the next but I can live with it that way so no problem.

after re-reading your statement I see you meant edits to the store files not zen lightbox files...sorry

15 May 2010, 3:15 PM
#1968
johnchazz avatar

johnchazz

New Zenner

Join Date:
Feb 2010
Location:
Tucson, AZ
Posts:
16
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Zen Lightbox v1.5 and Link Manager 3 don't work together, and I can't determine why. Here's what I know:

  1. These two mods share NO files in common.

  2. I've read elsewhere in the Community Forum where this problem occurs regardless of other mods that may be running, on clean installs of 1.3.8a with Lighbox 1.5 (including much earlier versions) and Link Manager 3.

  3. If the Link Manager layout box is enabled, it appears and works perfectly, however it completely breaks Lightbox, i.e. clicking on the larger image on a product page brings up the larger image in same browser window (not a new browser window, as was the default prior to installing Lightbox).

  4. If you simply disable the Link Manager layout box by turning it off via the Admin, it disappears as expected and Lightbox works beautifully again after a page refresh.

PLEASE, CAN SOMEONE HELP ME??! I WILL DONATE IF YOU HELP ME FIX THIS PROBLEM SO I CAN RUN BOTH TOGETHER!!!:cry:

I have seen a handful of similar posts in various threads with the EXACT SAME symptom I just described, but no resolutions anywhere. The Link Manager developer simply replies with the same reply everytime someone mentions this problem, (I'm paraphrasing) "Link Manager doesn't share any files in common with Lightbox (Slimbox)." I posted this same problem on the Slimbox thread and received no response.

I really need both mods to work together and I can't figure out why. Possible conclusions I've reached but can't confirm:

  1. There's a conflict with some variable, function or constant name somewhere??

  2. There's some CSS conflict somewhere??

My site: flairbyjdn.com
Zen Version: 1.3.8a

(I can provide additional information, privately, if you are able to assist me, e.g. mods I'm running, ftp access, etc.)

15 May 2010, 7:49 PM
#1969
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I don't know why it won't work either because lightbox is a more richer slimbox...I love it.

However, if you list the other mods and versions of them then you might be able to get better help...sometimes it might be a different mod that is in control and not the one we think is.

15 May 2010, 8:10 PM
#1970
johnchazz avatar

johnchazz

New Zenner

Join Date:
Feb 2010
Location:
Tucson, AZ
Posts:
16
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Thank you for your quick reply. I love lightbox with IH2, as well. But, I really need a reciprocal link manager, hence my installation of Link Manager 3 - very easy to use and works great with the glaring exception that turning on the sidebox breaks lightbox.

Here are the mods I've successfully added to my base 1.3.8a ZC install:

Cherry Zen 1.7
USPS_UDPATE_2010_0104_B
LocalSalesTaxMod2.4
image_handler_for_vs_Ver2-0rev7
creditcardsidebox
ceon_back_in_stock_notifications_2.2.4_for_zc
Logo Sidebox
comodo_instant_ssl_site_seal_1-0
zen_lightbox-v1.5-20081218
ceon_uri_mapping_3.2.4_for_zc
fec (installed but completely turned off)
contactus_recaptcha_v1.1
SimpleGoogleAnalytics
dymo_1.1
sitemapXML
security_patch_v138_20090619
Blank_Sidebox_2.0
Order Manager 1.0
YahooConversionTracking_v1.0.0
EmailAddressExporter
google_base_feeder
FCKEditor
About_Us
GV_ADMIN_EDIT_1.1
master_password
Admin Activity Report 1.3
Links Manager 3 (installed, but sidebox turned off due to issue I'm trying to solve)

The only additional custom coding that's been done is to add reCaptcha to a couple of other forms (thanks to Conor from Ceon - one of the great ZC mod developers, in my opinion).

BTW, the symptom I explain above is identical on IE and Firefox and is identical across multiple workstations - so, it's not client specific.

Again, any help would be greatly appreciated (and rewarded).

Regards,

John

15 May 2010, 10:16 PM
#1971
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

that will help the more knowledged for helping I am sure.

please forgive me but what exactly is link manager for...just adding links to the sidebox for recips of another site that offers to use your link at theirs?

or does it track clicks like the banner manager does.

16 May 2010, 2:07 AM
#1972
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

johnchazz:

Zen Lightbox v1.5 and Link Manager 3 don't work together, and I can't determine why. Here's what I know:.....

This sure is an interesting discovery.

Noted exactly the same problem on my site https://www.chilloutfashions.com.au this morning (ZC 1.3.9b) and initially thought that the upgrade from 1.3.9a to b may have been responsible for the failure of Zen Lightbox. That ofc is not the case :no:

Re-installed Zen Lightbox - same problem. Came across your post, disabled the Links sidebox and bingo...

I will make the author of Links Manager aware of this occurrence - lets see what develops.

16 May 2010, 2:43 AM
#1973
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

johnchazz:

Zen Lightbox v1.5 and Link Manager 3 don't work together, and I can't determine why. ....

Here is a (not so elegant) fix: http://www.zen-cart.com/forum/showpost.php?p=884534&postcount=1634
:smartalec:

16 May 2010, 4:51 AM
#1974
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Zen Lightbox addon [Support Thread]

that is where i thought it would be too but this is the text that mine has---and this is from a fresh unzipped archive of the lightbox files:The 1 and 2 is added by the script other wise, it's the same as mine. Lack of buttons... lightbox is looking for the folder 'Zen_Lightbox' within the language button folder. First time I installed I just moved the buttons, not the folder which gave me missing buttons.

Re-installed Zen Lightbox - same problem. Came across your post, disabled the Links sidebox and bingo...Not having any problems with Link Manager and Lightbox.... but I don't use the standard Link manager sidebox nether. I have the link in my own sidebox.

The script file in Link Manager sidebox call 'function resize()' which conflicts with Mootools, thus the error. Should be a walk around for this.... but I'm off to the SQF to make maps for a fire team....

16 May 2010, 1:35 PM
#1975
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Zen Lightbox addon [Support Thread]

davewest:

The script file in Link Manager sidebox call 'function resize()' which conflicts with Mootools, thus the error. Should be a walk around for this.... but I'm off to the SQF to make maps for a fire team....

After a second look, this was for the popup help window which I do use without any problems. I didn't see anything else that would course problems.

16 May 2010, 8:27 PM
#1976
johnchazz avatar

johnchazz

New Zenner

Join Date:
Feb 2010
Location:
Tucson, AZ
Posts:
16
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Thank you for the "less than elegant" solution. I have already posted to the Link Manager thread, but the creator has never responded with a fix/workaround (that I can see). Actually, several people have posted the same symptom on the Link Manager thread and received similar responses. Real bummer I can't get both to work as they are designed, as the Link Manager sidebox allows you to have additional "categories" for affiliates related to what is being sold on your site.

17 May 2010, 8:59 AM
#1978
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

johnchazz:

Thank you for the "less than elegant" solution. ........ Real bummer I can't get both to work as they are designed, as the Link Manager sidebox allows you to have additional "categories" for affiliates related to what is being sold on your site.

I dubbed my fix "less than elegant" for exactly the reason you are stating.

Let's wait and see what the creators are coming up with. It is a rare occurrence though that 2 different contributions are having an unintended crack at each other :shocking:

17 May 2010, 5:11 PM
#1979
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Zen Lightbox addon [Support Thread]

davewest:

The script file in Link Manager sidebox call 'function resize()' which conflicts with Mootools, thus the error. Should be a walk around for this.... but I'm off to the SQF to make maps for a fire team....

Can you show me where this function is being called.

Here is the code for the links manager sidebox. (includes/modules/sideboxes/links_box.php

<?php
/**
 * Links Box
 *
 * @package templateSystem
 * @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: tpl_links_submit_default.php 3.5.3 4/16/2010 Clyde Jones $
 */
  $links_query= ("select lc.link_categories_id, lc.link_categories_sort_order, lcd.link_categories_id, lcd.link_categories_name from " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd where lc.link_categories_status = '1' and lc.link_categories_id = lcd.link_categories_id and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lc.link_categories_sort_order, lcd.link_categories_name");
  $links = $db->Execute($links_query);
  if ($links->RecordCount()>0) {
    $number_of_rows = $links->RecordCount()+1;
    $links_array = array();
    if ($_GET['link_categories_id'] == '' ) {
    } else {
      $links_array[] = array('id' => '', 'text' => PULL_DOWN_LINKS_MANAGER);
    }
    while (!$links->EOF) {
      $link_categories_name = ((strlen($links->fields['link_categories_name']) > MAX_DISPLAY_LINK_NAME_LEN) ? substr($links->fields['link_categories_name'], 0, MAX_DISPLAY_LINK_NAME_LEN) . '..' : $links->fields['link_categories_name']);
      $links_array[] = array('id' => $links->fields['link_categories_id'],
                                       'text' => $link_categories_name);
      $links->MoveNext();
    }
      require($template->get_template_dir('tpl_links_select.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_links_select.php');
    $title =  BOX_HEADING_LINK_CATEGORIES;
    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;
    $title_link = false;
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
  }
//EOF

AND includes/templates/template_default/sideboxes/tpl_links_select.php

<?php
/**
 * Links Select Sidebox Template
 *
 * @package templateSystem
 * @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: tpl_links_submit_default.php 3.5.3 4/16/2010 Clyde Jones $
 */
  $content = "";
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';

  $content.= zen_draw_form('links', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
  $content .= zen_draw_pull_down_menu('lPath', $links_array, (isset($_GET['lPath']) ? $_GET['lPath'] : ''), 'onchange="this.form.submit();" size="' . MAX_LINKS_LIST . '" style="width: 90%; margin: auto;"') . zen_hide_session_id();
  $content .= zen_draw_hidden_field('main_page', FILENAME_LINKS) . '</form>';

  if (BOX_DISPLAY_VIEW_ALL_LINKS == 'true') {
  $content .= '<br /><a href="' . zen_href_link(FILENAME_LINKS, '', 'NONSSL') . '">' . BOX_INFORMATION_VIEW_ALL_LINKS . '</a>';
}

   if (BOX_DISPLAY_SUBMIT_LINK == 'true') {
  $content .= '<br /><a href="' . zen_href_link(FILENAME_LINKS_SUBMIT, '', 'SSL') . '">' . BOX_INFORMATION_LINKS_SUBMIT . '</a>';
}
  $content .= '</div>';
//EOF