Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • obliat Friend
    #162358

    My JA_Newsticker module shows some odd characters in some of the healdines – �.
    ? in a black diamond at the end of the headline before the dots (…)

    Tried to convert all the files associated with the module to UTF-8, but that didn’t help.

    Also if I make the module wider (like 90px) to accomodate longer headines, it makes tow rows – width is set to auto in style.css ?!?

    Feedback appreciated.

    Thanks

    Saguaros Moderator
    #384925

    YOu try to open this file: modulesmod_janewstickerhelper.php and find the following code:
    [PHP]
    function trimString( $title, $max=60 ){
    if( strlen($title) > $max ){
    return substr( $title, 0, $max ) . ‘…’;
    }
    return $title;
    }
    [/PHP]
    replace by:

    [PHP]

    function trimString( $title, $max=60 ){
    return JString::substr( strip_tags($title), 0, $max );
    }

    [/PHP]

    obliat Friend
    #384960

    Thank you very much tienhc!:)

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  obliat 13 years, 7 months ago.

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