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

Tooltip

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-19-2010, 02:09 PM
  abeight's Avatar 
abeight abeight is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Cleveland, OH
Posts: 479
 

Default Tooltip

Is there an easy way to turn off the tooltip that pops up in the minicart when you hover over the total cart value?
__________________
~ Andrea Beight
Reply With Quote
  #2  
Old 09-29-2010, 01:07 PM
 
joelrhome joelrhome is offline
 

Advanced Member
  
Join Date: Dec 2003
Posts: 89
 

Default Re: Tooltip

The only easy way that I know how is to go into whichever theme you are using, and then edit customer/minicart_total.tpl.

Find this:

<strong>{$minicart_total_items}</strong> {$lng.lbl_cart_items}&nbsp;/&nbsp;}<strong class="help-link">
{include file="main/tooltip_js.tpl" class="help-link" title=$val text=$lng.txt_minicart_total_note}</strong>

and then replace it with this:

<strong>{$minicart_total_items}</strong> {$lng.lbl_cart_items}&nbsp;/&nbsp;{$val}<strong class="help-link">
{*include file="main/tooltip_js.tpl" class="help-link" title=$val text=$lng.txt_minicart_total_note*}</strong>

I hope that helps:

Joel

X-Cart 4.4.0
Reply With Quote
  #3  
Old 09-30-2010, 06:12 AM
  abeight's Avatar 
abeight abeight is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Cleveland, OH
Posts: 479
 

Default Re: Tooltip

Thank you, I'll give that a shot!
__________________
~ Andrea Beight
Reply With Quote
  #4  
Old 09-30-2010, 06:53 AM
 
joelrhome joelrhome is offline
 

Advanced Member
  
Join Date: Dec 2003
Posts: 89
 

Default Re: Tooltip

You're welcome
__________________
Joel Rhome
x-cart 4.4.X
Reply With Quote
  #5  
Old 02-22-2012, 11:52 AM
 
MSfan MSfan is offline
 

Advanced Member
  
Join Date: Nov 2011
Posts: 56
 

Default Re: Tooltip

Where can I modify what this tooltip says?
__________________
v4.4.4 Pro
Reply With Quote
  #6  
Old 02-22-2012, 09:13 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default Re: Tooltip

Under languages section.

Quote:
Originally Posted by MSfan
Where can I modify what this tooltip says?
Reply With Quote
  #7  
Old 02-24-2012, 01:17 PM
 
MSfan MSfan is offline
 

Advanced Member
  
Join Date: Nov 2011
Posts: 56
 

Default Re: Tooltip

Quote:
Originally Posted by Dongan
Under languages section.

Do you mean from the Content tab, Languages selection? As I look at the "Edit languages" page, I'm not sure where to go to modify the tool tip. I see 'Edit language', 'Default language', and 'Add/Update language'. Thanks
__________________
v4.4.4 Pro
Reply With Quote
  #8  
Old 02-24-2012, 02:02 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default Re: Tooltip

lead the language then search for that term
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 04-07-2012, 08:02 AM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: Tooltip

Does the minicart tooltip use the js/cluetip/ files included with X-Cart? I'm trying to call its functionality elsewhere in a site, but using the code from the minicart:

<a id="tooltip_link" class="help-link" rel="#tooltip_link_tooltip" href="#tooltip_link_tooltip" style="" title="">

only allows for 1 instance of the tool tip to work. Does anyone know how to modify this so you can use multiple tool tips within a single page?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World
- Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com)


X-Cart Version 4.1.10
Reply With Quote
  #10  
Old 04-07-2012, 08:09 AM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: Tooltip

Got it...as usual, should have dug around a little more before posting:

To prepare any custom tooltips all you need to do is use this line:

{include file="main/tooltip_js.tpl" class="help-link" title=XXX text='XXX' id='XXX'}

The key seems to be making sure it has a unique ID, otherwise it will default to 'tooltip_link' which may be in use by native X-Cart functions (such as the minicart.)
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World
- Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com)


X-Cart Version 4.1.10
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 10:45 PM.

   

 
X-Cart forums © 2001-2020