Keyword

Auto Readmore

  • Stefano
  • Stefano's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago - 8 years 8 months ago #146332 by Stefano
Auto Readmore was created by Stefano
I'd like to truncate the text displayed at chosen number of characters, maintaining the layout of the text.

The built-in function doesn't retain the format.

Am I missing something?
Do I need a particular plug-in to do this? Anyone has any suggestion?
Last edit: 8 years 8 months ago by Stefano.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #146444 by Krikor Boghossian
Replied by Krikor Boghossian on topic Auto Readmore
If you use a limit, then all HTML tags are being stripped.
This is the default behaviour and it cannot be changed since it would possibly break the HTML code of your site.

You can however manually specify the introtext of your item so it keeps its HTML formatting.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
7 years 10 months ago #155863 by gruz
Replied by gruz on topic Auto Readmore
Here is an autoreadmore plugin gruz.org.ua/en/extensions/autoreadmore-plugin-for-joomla.html
It takes care of cleaning up HTML not to break the things at the blog view. Has a number of options. Can strip introtext by characters, words, paragraphs.

Is easy to setup to work with k2.

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


Powered by Kunena Forum