How change READMORE text button

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Mon Dec 06, 2010 9:23 am
Hi,
i change the language of "mystore" from English to Spanish (change the Joomla and K2 language) and all work fine, but NOT the thumbnails of GK4... where i can change the text of this module??

I found in layout.parts.php the readmore button:

// ReadMore button generator
function readMore_k2($config, $news_id, $news_alias, $news_cat_id, $news_cat_alias) {
//
require_once (JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'route.php');
//
if($config['news_content_readmore_pos'] != 'disabled') {
$class = ' f'.$config['news_content_readmore_pos'];
$link = urldecode(JRoute::_(K2HelperRoute::getItemRoute($news_id.':'.urlencode($news_alias), $news_cat_id.':'.urlencode($news_cat_alias))));
//
if($config['news_content_readmore_pos'] != 'after') {
return '<a class="readon readon_class '.$class.'" href="'.$link.'">'.JText::_('NSP_READMORE').'</a>';
} else {
return '<a class="nsp_readmore inline" href="'.$link.'">'.JText::_('NSP_READMORE').'</a>';
}

if($config['news_content_readmore_pos'] == 'after') {
return '<a class="nsp_readmore inline" href="'.$link.'">'.JText::_('NSP_READMORE').'</a>';
} else {
return '<a class="readon readon_class '.$class.'" href="'.$link.'">'.JText::_('NSP_READMORE').'</a>';
}

} else
return '';

tks :)
User avatar
Fresh Boarder

GK User
Mon Dec 06, 2010 10:45 am
Ok, find it:
Edit the value for NSP_READMORE=Read more in en-GB.mod_news_pro_gk4.ini
User avatar
Fresh Boarder


cron