test
Ok, it works.
Here is the code (in helper.php) that needs to be changed:
function trimString( $title, $max=60 ){
if( strlen($title) > $max ){
return substr( $title, 0, $max ) . ‘…’;
}
return $title;
}
change to:
function trimString( $title, $max=60 ){
if( strlen($title) > $max ){
return JString::substr( $title, 0, $max ) . ‘…’;
}
return $title;
}
hope this helps those like me having been suffering from this issue:)
This topic contains 16 replies, has 7 voices, and was last updated by evgen2011 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum