solved How to Truncate Site Newson Home page and Online users not showing... Media Pro

alt=
@luis890
10 years ago
57 posts
Hello!
Could you please tell me how do I truncate text in the "Site news" In the Home page with Media Pro. The Text area is way to long and I would like to reduce to its third.
Also "On Line" users only shows when logged in. When not logged int it does not shows anything. Is there a way to enable while not logged in.
http://demo.jamroom.net/jrMediaProLight/
Thank You
updated by @luis890: 03/31/14 05:26:41PM
douglas
@douglas
10 years ago
2,791 posts
You can modify your skins/jrMediaProLight/side_home.tpl file and find this.

{ $item.blog_text|truncate:800:"...":false|jrCore_format_string:$item.profile_quota_id|nl2br}


and change the number 800 to 300, or whatever you would like it to be.

I'll check out the online tab while logged out and get that fixed for the next release.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

updated by @douglas: 02/08/14 10:40:55AM
alt=
@luis890
10 years ago
57 posts
Thank You for your help

Tags