-
AuthorPosts
-
metastorm Friend
metastorm
- Join date:
- October 2012
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
January 20, 2013 at 10:57 pm #184191Hello!
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.
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
January 21, 2013 at 4:42 am #480527Hello 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 Friendmetastorm
- Join date:
- October 2012
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
January 21, 2013 at 11:08 am #480618Hello Stork11,
PM
Regards,
metastorm Friendmetastorm
- Join date:
- October 2012
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 5 times in 1 posts
January 22, 2013 at 10:50 am #480761Hi,
I’ve fixed � characters by changing in files
modulesmod_jasidenewshelper.php and
modulesmod_janewstickerhelper.php codefunction 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.
1 user says Thank You to metastorm for this useful post
AuthorPostsViewing 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
Ja SideNews special symbol problem & cache problem
Viewing 4 posts - 1 through 4 (of 4 total)