Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Lightbox JS v2.0 implementation

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #101  
Old 02-04-2007, 01:43 AM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by fhiremark
The rest of the code I left intact and it works perfect on Firefox, but on IE I get the nonsecure popup everytime I go to a different page. (I'm using the most recent download package, the one with the blank.html hack) Please help.

put a '/' in front of skin1/thickbox/files/blank.html in thickbox.js, and do the same for skin1/thickbox/files/loadingAnimation.gif
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #102  
Old 02-05-2007, 07:19 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

Default Re: Lightbox JS v2.0 implementation

That has fixed the Prev - Next buttons, but there are a few other problems:

Post #94 is correct, I get that same thing (except clicking it does nothing).

Post #99 - same, but whatever I put in the 'Alternative Test' in the Detailed Images page appears, then with the 1, 2, 3, right after it. Example:

Thickbox test 11
Thickbox test 22

The Alternative Text I have set is Thickbox test 1 & Thickbox test 2.
__________________
Location: UK
X-Cart: Gold 4.4.2, Status: Finalizing
Template: Colors
Free Mods: Colour Coded Orders, FAQ Manager
Paid Mods: None... yet.
Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13
Reply With Quote
  #103  
Old 02-05-2007, 07:42 AM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default Re: Lightbox JS v2.0 implementation

I'm still having the problem with the next / prev image. Couldn't find the right post with the fix. Anyone can direct me in the right way?
Thanks
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote
  #104  
Old 02-05-2007, 07:52 AM
 
ranger82nd ranger82nd is offline
 

Senior Member
  
Join Date: Jan 2006
Posts: 159
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by NightFire
I'm still having the problem with the next / prev image. Couldn't find the right post with the fix. Anyone can direct me in the right way?
Thanks
NightFire~ if you are using my modified version to work with Telafirma's mod, you need to also do this:
Quote:
To fix Prev - Next navigation problem open skin/thickbox/thickbox_productpage.tpl and replace:
[detailed] with: thickbox_detailed
in your product.tpl
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting!
Reply With Quote
  #105  
Old 02-05-2007, 08:06 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by just wondering
Post #99 - same, but whatever I put in the 'Alternative Test' in the Detailed Images page appears, then with the 1, 2, 3, right after it. Example:

Thickbox test 11
Thickbox test 22

The Alternative Text I have set is Thickbox test 1 & Thickbox test 2.
No need for numeration, mod will add numbers for you.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #106  
Old 02-05-2007, 08:09 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by NightFire
I'm still having the problem with the next / prev image. Couldn't find the right post with the fix. Anyone can direct me in the right way?
Thanks

Can you explaine your problem with the next / prev image more in details? I have tested Thickbox mod again, on clean xcart installation, but cannot reproduce problem with the next / prev navigation.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #107  
Old 02-05-2007, 09:03 AM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by ranger82nd
NightFire~ if you are using my modified version to work with Telafirma's mod, you need to also do this:

in your product.tpl

Thanks for the reply. Tried it, but without any luck. I guess you are referring to the "rel [detailed" right?
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote
  #108  
Old 02-05-2007, 09:59 AM
 
ranger82nd ranger82nd is offline
 

Senior Member
  
Join Date: Jan 2006
Posts: 159
 

Default Re: Lightbox JS v2.0 implementation

Just so we're clear..
it should be rel="thickbox_detailed" not rel="[thickbox_detailed]" right?

Here's the entire snippet.
Code:
{if $product.tmbn_url} <a href="{$product.tmbn_url}" title="{$product.product|escape}" class="thickbox" rel="thickbox_detailed">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.product_image_width product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" alt=$product.product|escape} {if $product.tmbn_url}<div align="center" class="SmallText">+ Click to Enlarge</div></a>{/if} {/if}
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting!
Reply With Quote
  #109  
Old 02-05-2007, 10:44 AM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default Re: Lightbox JS v2.0 implementation

Maybe I'm using a wrong, or updated version. But the rel trick is just not working.
Edit: I'm using it for the TelaFirma mod...

here is my /thickbox/thickbox_productpage.tpl file:

Code:
{if $images ne ""} <div style="white-space:nowrap;color:#D90000;font-weight:bold;padding:2px;margin:10px 0 4px;">{$lng.lbl_detailed_images} <img src="{$SkinDir}/thickbox/files/zoom.gif" style="border:0;" alt="{$lng.lbl_enlarge|escape}" /></div> {section name=image loop=$images} {if $images[image].avail eq "Y"} {if $images[image].tmbn_url} <a href="{$images[image].tmbn_url}" title="{$images[image].alt|escape}" class="thickbox" rel="[detailed]">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.dthumb_image_width product=$product.product tmbn_url=$images[image].tmbn_url alt=$images[image].alt|escape}</a> {/if} {/if} {/section} {/if}
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote
  #110  
Old 02-05-2007, 11:27 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by ranger82nd
Just so we're clear..
it should be rel="thickbox_detailed" not rel="[thickbox_detailed]" right?
Yes.

Quote:
Originally Posted by ranger82nd
Here's the entire snippet.
Code:
{if $product.tmbn_url} <a href="{$product.tmbn_url}" title="{$product.product|escape}" class="thickbox" rel="thickbox_detailed">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.product_image_width product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" alt=$product.product|escape} {if $product.tmbn_url}<div align="center" class="SmallText">+ Click to Enlarge</div></a>{/if} {/if}
This is your custom code for thickbox_productpage.tpl, right?
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:18 PM.

   

 
X-Cart forums © 2001-2020