By Jordan Weinstein on Monday, 21 July 2014
Posted in General Issues
Replies 7
Likes 0
Views 882
Votes 0
Hi guys,

In the Easysocial K2 app, would it be possible to limit the stream text to title of the item? Either as a hack or an option in backend?

Thanks for considering.

Jordam
Hello Jordan,

Can you try install the attached k2 app file?
·
Monday, 21 July 2014 10:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Nick!

I did install this, and it works except if you select 'Limited' and use '0' for content length in both the stream and profile view, when you save, it returns to Content Length: 'Unlimited'. It seems I have to show at least one character; i.e I cannot seem to limit to no content (title only). Is it possible to use 0 for content length?

Jordan
·
Monday, 21 July 2014 10:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jordan,

May I know what you trying to achieve here? If you set the limit to 0 means you don't want to show any content, right? You can provide us your backend and FTP so we can directly apply the fix to your site based on your requirement.
·
Monday, 21 July 2014 11:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Quite simply, I would like to mention the title of the article, without any of the text of the article. The current stream post is fine, without content of the article if possible. This could be accomplished (in my opinion) by allowing Limit: 0 to produce only the title without any introtext/fulltext content.

I have added access here, but kindly share any changes so I can apply to my live site.
·
Monday, 21 July 2014 11:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jordan,

I've added additional option for turn on/off the content: http://screencast.com/t/0X1OHlk9 . The files I've edited are:
../media/com_easysocial/apps/user/k2/k2.php
../media/com_easysocial/apps/user/k2/config/admin.json

Hope this helps.
·
Monday, 21 July 2014 11:56
·
0 Likes
·
0 Votes
·
0 Comments
·
This is fantastic. Thanks Nick. Given others might want to use this change, will these adjustments make it in to the stable version of the app, or just in my case?

Jordan
·
Monday, 21 July 2014 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jordan,

As for now, it will be only for you. I will discuss with our developers about this option You will need to backup those files before updating the app in the future.
·
Monday, 21 July 2014 12:07
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post