- Posts: 6
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.
Question Shorten text in activity stream.
I really like this plugin, but its undesirable if show all text. It will be more simple that there will show only for example 100 characters and button like "read more" or something like that..
Its there some solution ??
Thanks
Please Log in or Create an account to join the conversation.
Hi, my question is simple.
I really like this plugin, but its undesirable if show all text. It will be more simple that there will show only for example 100 characters and button like "read more" or something like that..
Its there some solution ??
Thanks
Yes you are right we need to do that. In fact I need this for a current project we are working on. Some of the posts fill entire pages and the resulting activity stream gets way too long. An alternative would be a minimizing java script on top of the activity stream, that only shows the first n lines, unless you click on it and it expands that message to full length.
We love stars on the Joomla Extension Directory .
Please Log in or Create an account to join the conversation.
Thank you
Please Log in or Create an account to join the conversation.
- templarart
-
- Offline
- New Member
-
- Posts: 7
- Thank you received: 1
This is how I fixed it - pretty easy:
I assume that you're using the default template for JomSocial. (Most of the other templates don't show content but if you're using a different template, just substitute the name for 'default' below.)
Edit /components/com_community/templates/default/activities.index.php
Not a big file...
Find: <?php echo $act->content; ?>
Change to: <?php echo substr($act->content,0,1000); ?>
You might want to change '1000' to however many characters you want to display.
Save and you're done.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- dylanphelan
-
- Offline
- Junior Member
-
- Posts: 25
- Thank you received: 0
However - it cuts off the post in the middle of a word.
the 1000 refers to the number of carachters. Is there any way to limit the number of WORDS shown in the activity stream instead?
Ideally it should show X amount of words, then have a READ MORE link.
Please Log in or Create an account to join the conversation.