By Jay on Sunday, 24 June 2018
Posted in Technical Issues
Replies 5
Likes 0
Views 572
Votes 0
Sorry if this has a simple answer, but I've searched and not managed to find any setting that will increase the truncation length when people post comments. At present it seems to be set very small (see example) but I tried changing every truncation setting I can find but none work! Thanks.
Hi Itamar,

There is no setting for this. You would have to template override the following theme file and include the value here(default is 150).
JoomlaFolder/components/com_easysocial/themes/wireframe/comments/item.php
·
Monday, 25 June 2018 10:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow, that seems odd not to have a setting for that especially as in the code you could easily just change code to getComment($cmnt_trunc_lngth) or similar?!

Anyway I produced an override but hope you fix this in upcoming versions!
Jay
·
Monday, 25 June 2018 17:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Itamar,

The reason there is no setting is because we are not aiming to have too many settings. We believe that 150 is reasonable and an optimal value that does not clutter up the site too much, and if certain sites really want to change the amount, they can do so in template override.
·
Monday, 25 June 2018 18:51
·
0 Likes
·
0 Votes
·
0 Comments
·
It's a shame, as, for example, on our site, the default setting only shows less than 1.5 lines which looks odd. I understand you don't want to many settings but this one feels quite significant!
Jay
·
Monday, 25 June 2018 21:08
·
0 Likes
·
0 Votes
·
0 Comments
·
As mentioned by my colleague, if you need to tweak the behavior, you could always create a template override for this. If we add a settings for total characters in comments, then people are going to start asking for settings on every place that we truncate and eventually, you would be flooded with hundreds of different truncation settings.
·
Monday, 25 June 2018 21:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post