× Discussions about "Destinations" Joomla template.

Topic-icon Multi-language for Hot Scroll

More
5 years 6 months ago #23557 by diegoarpo
Hi,

I'm setting up a site in spanish and need to change the "Read More" that goes into the Hot Scroller for the Spanish version (Ver mas)... however it seems that this value is hard coded. Can anybody point out the right file to modify?

Thanks!

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #23565 by ivan.milic
open :

modules\mod_hot_scroller\mod_hot_scroller.php

near bottom you will see:
		// Item introtext	
		if ($display != 0 || $more) {
			if ($display != 0) {
				$html .= '<div>'.$row->text;
			}
			if ($more) {
				$html .= ' <a class="readon" href="'.$link.'">'.JText::sprintf('Read more...').'</a>';
			}
			if ($display != 0) {
				$html .= '</div>';
			}
		}


so eater change text in JText::sprintf('Read more...') or provide translation for Read more... in any language .ini file:

Read more...="your translation"
Last edit: 5 years 6 months ago by ivan.milic.

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.131 seconds