Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

file Ability to truncate long posts please: urgent...

More
7 years 3 months ago #17711 by Ian
HI. Would very much appreciate the ability to truncate posts over a certain number of characters in a tidy and nice looking way. Especially important for FB where, if I share a post I see the whole of the original text show up as well?

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #17713 by HaiND
Hi Ian
Thanks for contacting and choosing our product
About your problem, I'm sorry. Please give me link your site and your account of administrator via private message or mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #17714 by Ian
Hi
Thanks for your rapid response. Have pm'd you as requested./

I'm fairly competent with code and I can see that a simple substring operator in the JS would do what I need, but unfortunately I'm really really busy and If you have the 'patch' to hand then it will probably be faster for you to do it. If you'd prefer me to apply, just send me the new code..l.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #17720 by HaiND
Hi Ian
Thank you for feedback us
I customize it for you, go to source code:
../modules/mod_jux_social_stream/assets/js/jux_social_stream_network_wall.js at line 609:
z = linkify(item.content,type);
Edit:
z = linkify(cut(item.content,200),type);
With 200 being the number of characters displayed, you can change the number 200 by another number as you want
Hope it can help you
Thanks

Best Regards
--HaiND--

Please Log in or Create an account to join the conversation.

Moderators: Jackie
Time to create page: 0.037 seconds
Powered by Kunena Forum