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

ThickBox - How to modify the navigation link?

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 11-01-2007, 01:38 PM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default ThickBox - How to modify the navigation link?

Hi guys,

Does anyone know how to modify the navigation link for the ThickBox mod? The default ones don't look to attractive.

Thanks
-Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote
  #2  
Old 11-02-2007, 04:38 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: ThickBox - How to modify the navigation link?

Do you mean the << Next and Previous >> links ?

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #3  
Old 11-03-2007, 04:53 PM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default Re: ThickBox - How to modify the navigation link?

Correct. Here is a pic.

http://img134.imageshack.us/img134/7919/thickboxhj2.jpg
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote
  #4  
Old 11-04-2007, 10:21 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: ThickBox - How to modify the navigation link?

This is handled in /skin1/thickbox/files/thickbox.js

Regards

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #5  
Old 12-18-2007, 10:21 AM
 
harveyev harveyev is offline
 

Member
  
Join Date: Dec 2007
Posts: 22
 

Default Re: ThickBox - How to modify the navigation link?

I installed this and it works great except that my navigation links aren't showing up at all.

Here's my thickbox_productpage.tpl code:

Quote:
{if $images ne ""}
<div style="white-space:nowrap;color:#5f94c0;font-weight:bold;padding:2px;margin:10px 0 4px;">{$lng.lbl_detailed_images} &not;</div>
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
<div style="white-space: nowrap;padding-left:10px; display: inline;"><a href="{$images[image].tmbn_url}" title="{$images[image].alt|escape}" class="thickbox" rel="lightbox[detailed]"><img src="{$xcart_web_dir}/image.php?id={$images[image].imageid}&amp;type=D" width="80" style="border:0;" alt="{$lng.lbl_click_to_enlarge|escape}" /></a></div>
{else}
<div style="white-space: nowrap;padding-left:10px; display: inline;"><a href="{$xcart_web_dir}/image.php?id={$images[image].imageid}&amp;type=D" title="{$images[image].alt|escape}" class="thickbox" rel="lightbox[detailed]"><img src="{$xcart_web_dir}/image.php?id={$images[image].imageid}&amp;type=D" width="80" style="border:0;" alt="{$lng.lbl_click_to_enlarge|escape}" /></a></div>
{/if}
{/if}
{/section}
<script type="text/javascript" src="{$SkinDir}/thickbox/files/jquery-compressed.js"></script>
<script type="text/javascript" src="{$SkinDir}/thickbox/files/thickbox.js"></script>
<style type="text/css" media="all">@import "{$SkinDir}/thickbox/files/thickbox.css";</style>
{/if}



That's all I modified. I dodn't touch thickbox.js at all except to change a font color. You can see it in action at http://www.harveyev.com/store.

Oh and btw, this doesn't work for me with fancycat turned on, though from what I read, not much does. )
__________________
Mike Harvey
X-Cart Version: 4.1.9 GOLD
Redhat Enterprise Server
Apache 2.2.4MySQL 4.1.21
Mods: x-configurator, x-aom, Sns, and many a mounting number of hacks learned here
(nuf said?)

Harvey Coachworks
http://www.harveyev.com/store
Reply With Quote
  #6  
Old 12-19-2007, 11:13 PM
 
harveyev harveyev is offline
 

Member
  
Join Date: Dec 2007
Posts: 22
 

Default Re: ThickBox - How to modify the navigation link?

That bad eh? Or is this a stumper?
__________________
Mike Harvey
X-Cart Version: 4.1.9 GOLD
Redhat Enterprise Server
Apache 2.2.4MySQL 4.1.21
Mods: x-configurator, x-aom, Sns, and many a mounting number of hacks learned here
(nuf said?)

Harvey Coachworks
http://www.harveyev.com/store
Reply With Quote
  #7  
Old 12-20-2007, 01:51 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: ThickBox - How to modify the navigation link?

I'm wondering if it's because it's within your multiple tab system ?

As a test, try moving if out of there temporarily and see if you get better results ...

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #8  
Old 12-20-2007, 11:35 AM
 
harveyev harveyev is offline
 

Member
  
Join Date: Dec 2007
Posts: 22
 

Default Re: ThickBox - How to modify the navigation link?

I looked at the demo at http://www.7dana.com/106.84.0.0.1.0.phtml and noticed the difference in demo that the url linked to the thumbs calls an phtml page istead of the detailed image file directly. There is also a test in the .js looking for an "imagegroup" argument (presumably in the url) to be passed to the script. Im not sure how thats possible if the url is nothing but a hard link to the detailed image file and the stylesheet is handling the rendering of the box to the browser. This is obviously a different implementation than the sourcecode provided. Hrm...stupified atm as to how to resolve this.
__________________
Mike Harvey
X-Cart Version: 4.1.9 GOLD
Redhat Enterprise Server
Apache 2.2.4MySQL 4.1.21
Mods: x-configurator, x-aom, Sns, and many a mounting number of hacks learned here
(nuf said?)

Harvey Coachworks
http://www.harveyev.com/store
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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:22 PM.

   

 
X-Cart forums © 2001-2020