Zen Cart Logo
Forums / All Other Contributions/Addons / Jquery Lightbox [Support thread]

Jquery Lightbox [Support thread]

Views: 82,872

Results 161 to 180 of 258
16 Oct 2009, 9:58 AM
#161
slimmoses avatar

slimmoses

New Zenner

Join Date:
Oct 2009
Posts:
12
Plugin Contributions:
0

Jquery Lightbox [Support thread]

SlimMoses:

Having trouble installing

The last insert query to database doesn't work for me. I get the error message as follow

ERROR: Cannot insert configuration_key "" because it already exists
Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

This mean I get no configuration options in admin section of JQL

Can someone help me?

Sorted it! I put in the values manually to the database

19 Oct 2009, 12:58 PM
#162
data_digger avatar

data_digger

Zen Follower

Join Date:
Jan 2009
Posts:
222
Plugin Contributions:
2

Re: Jquery Lightbox [Support thread]

I'm not sure if it's bug, but it seems to me. I work on site that does not have IH installed but still uses large images. Unfortunately in cases where there is more then one image thumbnail is displayed for additional images.
As far as I can tell $flag_has_large isn't set in 'additional_images.php' on line 91. Quick fix is to replace:

if(defined(IH_RESIZE))
        $flag_has_large = true;//file_exists($products_image_large);
    else[...]

with

$flag_has_large = file_exists($products_image_large);
if(defined(IH_RESIZE))
        $flag_has_large = true;//file_exists($products_image_large);
    else[...]

Of course, I can be wrong ;)

19 Oct 2009, 3:46 PM
#163
hopedesigns avatar

hopedesigns

New Zenner

Join Date:
Apr 2006
Posts:
19
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

data_digger, that worked wonderfully for me. Thanks a ton!

23 Oct 2009, 4:05 PM
#164
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,871
Plugin Contributions:
7

Re: Jquery Lightbox [Support thread]

Hi,
I had IH2 working fine with watermarks on medium and large images.

After installing jquery lightbox I lost the watermarks.

In modules/MY_TEMPLATE/main_product_image.php
there is a conditional loop that checks for the existence of IH2 and if it exists, it should not execute a chunk of original code that has to be removed for IH2 to work properly.

The conditional test is

if(!defined(IH_RESIZE)){

and irrespective of whether IH_RESIZE is 'yes' or 'no' the loop always executes. Surely it should not execute?

If I change the test to

if(defined(IH_RESIZE)){

the loop does not execute and the watermarks come back.

That does not make sense to me.

Since there are many people using both mods and no comments about losing watermarks (well there is one but the solution was never posted), I find it easier to believe my php non-skills are to blame rather than I have found something new.

Any comments from the cognoscenti please??

thanks
Steve

30 Oct 2009, 5:16 PM
#165
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

bear1728:

hi, the css drop menu is over the image when zoom in, what do i fix it?
can i show product name under the large image zoom in by jquery lightbox? thanks
I also am having this problem is there a solution for it?
thanks!

30 Oct 2009, 7:16 PM
#166
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

torvista:

Hi,
I had IH2 working fine with watermarks on medium and large images.

After installing jquery lightbox I lost the watermarks.

In modules/MY_TEMPLATE/main_product_image.php
there is a conditional loop that checks for the existence of IH2 and if it exists, it should not execute a chunk of original code that has to be removed for IH2 to work properly.

I just had this same problem. I solved it by replacing main_product_image.php and additional_images.php with the files found back a directory in modules. These files were provided by Image Handler. You could also just delete these two overrides.

Now it works just fine.

Anthony Taylor
Webmaster
http://buydentalequipment.com

31 Oct 2009, 6:40 PM
#167
samalama13 avatar

samalama13

New Zenner

Join Date:
Sep 2009
Location:
Bali
Posts:
1
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

WOW I have been mixed up. trying to get lightbox and some kind of hover thing working on http://bombasticplastix.com/webstore/index.php?main_page=product_info&cPath=2&products_id=1
IH 2 installed but could never get hover working in IH 2 have tried to get Jquery Lightbox working No luck usually I can moose through this stuff Would really love some help I'm freaking out have to get this store operational. Have crawled all over the thread just can't seem to get it to work.Thanks Samalma

13 Nov 2009, 9:57 PM
#168
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Somethings gone wrong and I think I traced it back to Jquery Lightbox. On my advanced search page I noticed the javascript isn't loading up correctly. I kinda traced this down to modifications in html_header.php in the common directory.

If I use the old html_header.php my javascript loads up for the advanced search page.. however the javascript needed for the lightbox to work fails.

With the modified html_header.php that comes with JQLightbox the lightbox javascript loads up just fine but the advanced page looks naked.

It would seem the major difference is that the old one loads each file up directly whereas the new one loads them into an array which is then parsed and loaded.

I tried hacking it but nothing happened. Would appreciate any help.

Files:
http://beta.buydentalequipment.com/cart/includes/templates/theme056/common/html_header.JQLightbox.txt
http://beta.buydentalequipment.com/cart/includes/templates/theme056/common/html_header.orig.txt

Anthony

16 Nov 2009, 2:37 PM
#169
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

llynix:

Somethings gone wrong and I think I traced it back to Jquery Lightbox. [snip]

I tried hacking it but nothing happened. Would appreciate any help.

Anthony

Turns out I was hacking the wrong place. If I go back to the original code in this section everything seems to work fine.

 * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
 */
  $directory_array = $template->get_template_part($page_directory, '/^jscript_/');
  while(list ($key, $value) = each($directory_array)) {
/**
 * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
 * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
 */
//    $jscript_files_to_load[$value] = -100;
    require($page_directory . '/' . $value); echo "\n";
  }
22 Nov 2009, 6:28 PM
#170
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Just wanted to say thank you for the mod.
It installed without a hitch and plays well with IH2.
This is the 3rd lightbox I've tried to incorporate into my site, fual and slimbox just didn't work at all but I knew I'd had success with a jquery lightbox on another site so, I gave this one a shot.

Thanks again.

OH and the * in the "Pages to enable JQLightbox" was great idea Peter777!

22 Nov 2009, 7:59 PM
#171
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Same thanks for the jqzoom addon.
No hitches at all.

Good work yellow1912!

23 Nov 2009, 7:46 PM
#172
themarper avatar

themarper

New Zenner

Join Date:
Jan 2009
Posts:
6
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Hi,
where i can download Jquery Lightbox? :blink:

Thanks

23 Nov 2009, 11:02 PM
#174
bobthemolder avatar

bobthemolder

Zen Follower

Join Date:
Nov 2008
Posts:
164
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Database patch

The database patches required for jqlightbox can be found in the file install.sql inside the package. Please install the patches by

  1. Go to Admin→Tools→Install Sql Patches
  2. Open the file install.sql, copy the content and paste into the text box, click “send”.

Files/Folders upload

Open the package, change all the folders named YOUR_TEMPLATE into the name of the template you are using.

Upload all files/folders. This module should not overwrite any file except the file mentioned above
Configure JQLightbox

Go to your Admin→Configuration→JQLightbox to config it, this should be fairly easy. After that you can enable JQLightbox.
Can we get some real installation instructions? I have no idea what file the author is referencing when he says that it will be overwritten, but there looks to be a whole lot more than 1 that would get overwritten.

Is it not possible to specify the location of the 2 folders that need to be renamed? Why is extra_configures empty?

23 Nov 2009, 11:07 PM
#175
bobthemolder avatar

bobthemolder

Zen Follower

Join Date:
Nov 2008
Posts:
164
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

I'm appreciative that someone put the time into putting this together and supporting it, but if you're going to do something, do it right.

24 Nov 2009, 12:40 AM
#176
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

bobthemolder:

I'm appreciative that someone put the time into putting this together and supporting it, but if you're going to do something, do it right.
I have no affiliation with this mod or the author but, here is how I installed it.

I installed the following three SQL files via the "Install SQL Patches" on my site in this order:
install
Ajax_install
cj_loader_install

(That's it for SQL) IGNORE everything else.
IGNORE the min folder.

Upload to root >index_ajax.php & index.php (index.php might need to be compared with your current index.php. If they are different, then use winmerge to merge them)

Now focus on the includes folder and upload as you normally would. The structure is correct. Some folders are empty so, just dump them in the directory they need to be.

Check and recheck to make sure your files and folders are in the correct places, then go to your
Admin >Configuration>JQLightbox and turn it on.

I hope that helped.
I didn't touch anything in the "min" folder and it works just fine.

Installing the JQZoom mod will be easier because you'll be uploading a majority of the same files that were included in the JQLightbox.

9 Feb 2010, 7:30 PM
#177
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Hi
I am building a new store and wanted to use the majic zoom module however I came accross the jquery zoom.

I already have image handler 2 and zen lighbox installed. As jquery zoom works very well with jquery lightbox I though I would install the jquery lightbox instead of zen lightbox.

Heres what I done

I uploaded all of the files. Uninstalled the sql patch from zen lightbox and installed the 3 sql patches that came with jquery lightbox.

I have enabled the jquery lightbox from the admin area however the lightbox affect does not work.

Im not too sure why this is. I have been reading through this thread but havnt manged to come up with an answer.

I have admin>configurations>IH resize images set to yes - i read in one of the posts that this is a requirement.

You might want to take a look at the site as when you click on the image on the product page the page go's funny then shows the image

any help would be appreciated

thanks

http://www.zainabscollection.com

10 Feb 2010, 4:48 AM
#178
paddy_uk2007 avatar

paddy_uk2007

New Zenner

Join Date:
Aug 2007
Posts:
95
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Hi am having a problem with this, I have tried to install it about 5 times now with no luck.

I am using Zen Cart 1.3.8a.
I have just done a total new installation of zen cart and uploaded all the files needed for jqlightbox and installed the sql for the data base.

But i keep getting the same problem every time, when i click on an image it opens for a split second like its going to work, with a black background but the image doesn't appear it shows a small cross like there is no image, then the image just loads in the current page.

this all happens within a split second. you can see what I mean here

http://ebaylistingtemplates.co.uk/index.php?main_page=product_info&cPath=1&products_id=1

if you click on the product image you will see what i mean

someone please help thanks from Patrick

10 Feb 2010, 12:31 PM
#179
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Yup my site has exactly the same error. it acts as if it will bring up the lightbox but it doesnt

think there must be some sort of confliction somewhere

Any help guys would be great

10 Feb 2010, 1:42 PM
#180
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Jquery Lightbox [Support thread]

Ive gone back through all of the files to make sure everything has been uploaded correctly. Everything has.

1 thing which i noticed was that the ajax directories are empty

is this the way it should be

the extra_configures directory is also empty