Viewing 16 post (of 16 total)
  • Author
    Posts
  • evgen2011 Friend
    #434785

    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:)

Viewing 16 post (of 16 total)

This topic contains 16 replies, has 7 voices, and was last updated by  evgen2011 12 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum