Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • metastorm Friend
    #184191

    Hello!

    I have a problem with Ja SideNews module. At this time I use this module at 3 positions (please check Module Manager). If you check content-mass-bottom position at any news page, there are Ja SideNews module with 6 latest news. And some of the news contain diamond-shaped symbol at the end of description (screenshot attached with yellow mark).

    Possible hint: I had the same problem with news titles at the “left” position due to special «» symbols in the title.

    2. Ja SideNews does not work with cache. If I turn on “Use Cache” in module’s advanced options and set any time (f.e. 60 – 1min), this module will not update at all until I manually cleared all cache and refresh page.
    Cache enabled in in Template options.


    1. sn-bug1
    Stork11 Friend
    #480527

    Hello metastorm,

    Yes, not only JA SideNews but all modules will not update until site cache expires, It’s Joomla cache feature.

    For your problem with module text, please PM me with your FTP account for checking. You should also include this forum thread URL in your PM, so I can follow it.

    Regards.

    metastorm Friend
    #480618

    Hello Stork11,

    PM

    Regards,

    metastorm Friend
    #480761

    Hi,

    I’ve fixed � characters by changing in files
    modulesmod_jasidenewshelper.php and
    modulesmod_janewstickerhelper.php code

    function trimString( $title, $max=60 ){
    if( strlen($title) > $max ){
    return substr( $title, 0, $max ) . '...';
    }
    return $title;
    }

    to

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

    Thanks to Saguaros in this post.

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

This topic contains 4 replies, has 2 voices, and was last updated by  metastorm 11 years, 10 months ago.

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