Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Numbers of carachters in link/web/article preview

11 years 9 months ago
  • P's Avatar
    Topic Author
  • P
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 4
Licenses:
JomSocial Expired

Hi, when I import a website/article/link (preview) in the status/share panel, is it possible to set the number of characters in the preview paragraph before it is cut (broken with the 3 dots)? I would like to increase the number of characters of the preview. Thank you so much.

11 years 9 months ago
Licenses:

Hi P,

you can do it by using override method:
1. copy activities.profile.php from /components/com_community/templates/default/ to /templates/[your active frontend tempate location]/html/com_community/
2. at line 184 you can see this code

<span class="joms-stream-fetch-desc"><?php echo CStringHelper::trim_words($headMetaParams->get('description')); ?></span>
changing it to
<span class="joms-stream-fetch-desc"><?php echo CStringHelper::trim_words($headMetaParams->get('description'), 50); ?></span>

50 is a value for number of words.

ref:
documentation.jomsocial.com/wiki/Customizing_Template

Regards

The following user(s) said Thank You: P
11 years 9 months ago
  • P's Avatar
    Topic Author
  • P
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 4
Licenses:
JomSocial Expired

Ok! Thank you.

11 years 9 months ago
Licenses:

Hi P,

if cant works. please provide me valid access datail for your site. edit your first post at this topic. and put credential information at there (FTP, admin URL, username + password)

I will do it for you.

Regards

The following user(s) said Thank You: P
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW