Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 17 Hours, 4 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

How to translate/modify link ?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to translate/modify link ?
#7322
How to translate/modify link ? 1 Year, 11 Months ago  
hello

I would like change the text link translated but don't find it...In fact I see in language file is possible to translate/modify the message displayed after clicking on link of module...but don't find where is the string itself related to link "Clean Cache".. It seem the language display come from outside your module because I get the link translated in french but no french language folder fr-FR is available in your files...

Other question: I would like display a customized message when we hover on the module link (the title tag). If am not wrong the title tag is the same then link name and I would like make it different..but I don't find where is the related code...

thank
dotcom22
Posts: 20
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7325
Re: How to translate/modify link ? 1 Year, 11 Months ago  
For text strings that are available in the default language file, there is no entry in the cachecleaner language file.

I don't know what you mean with the second paragraph.
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7328
Re: How to translate/modify link ? 1 Year, 11 Months ago  
I mean when you put the mouse hover the link "Clean Cache" a bubble tooltip (in fact a simple html tag title) is displayed telling simply "Clean Cache". So now I would like change the text displayed by adding a short description..something like "If you click on this link the cache of your website will be cleared. If you need contact me for more info about this feature...

Do you see ?
dotcom22
Posts: 20
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7332
Re: How to translate/modify link ? 1 Year, 11 Months ago  
Well, as I said, it just uses the core language string for 'Clean Cache'.
If you want to change it (without screwing up the menu and stuff), you would have to change the cache cleaner php file so it uses a different string.

In the file administrator/modules/mod_cachecleaner/cachecleaner/helper.php, line 43:
... title="'.JText::_( 'Clean Cache' ).'" ...


Change that to something like:
... title="'.JText::_( 'Clean your cache' ).'" ...


Then in the Cache Cleaner language file add:
CLEAN YOUR CACHE=If you click on this link the cache of your website will be cleared. If you need contact me for more info about this feature...
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7333
Re: How to translate/modify link ? 1 Year, 11 Months ago  
Or better yet, add the class 'hasTip' and change the code to this:
... class="'.$class.' hasTip" id="cachecleaner" title="'.JText::_( 'Clean Cache' ).'::'.JText::_( 'Clean your cache' ).'"> ...
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7335
Re: How to translate/modify link ? 1 Year, 11 Months ago  
many thank I will try your solution

cheers
dotcom22
Posts: 20
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7357
Re: How to translate/modify link ? 1 Year, 11 Months ago  
Please install new version.
I implemented your wish:
Released new version of Cache Cleaner (v1.1.3) www.nonumber.nl/cachecleaner/changelog
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7382
Re: How to translate/modify link ? 1 Year, 11 Months ago  
beautiful you rock!!! thank for this update..

cheers
dotcom22
Posts: 20
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
hosting joomla
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max