Keyword

Help needed with catItemIntroTextWordLimit

  • esedic
  • esedic's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 6 months ago #81115 by esedic
Hi!I want to limit number of words in introtext of category items view, but I want to include html tags which are being stripped if you use this functionality.

In introtext I want to show images plus some basic styling (p, strong, br...)I 've seen function wordLimit in helpers\utilities.php but I can't figure out how to disable/modify tag stripping for introtext.Any help would be appreciated.

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

  • esedic
  • esedic's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 6 months ago #81116 by esedic
Replied by esedic on topic Help needed with catItemIntroTextWordLimit
This was the first thing I tried but unfortunately it's not working.

1. I set "Introtext HTML cleanup (tag strip)" to "Yes"
2. I entered "HTML tags not to strip in introtext" (in my case just an tag)
3. In the "Item view options in category listings" of the category I entered Introtext word limit (let say 40)

Stripped tags still don't appear.

Can someone confirm this, is this a bug or it's just my issue?

I'm using K2 v2.2 on Joomla 1.5.15.

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

  • Miltiadis bouchalakis
  • Miltiadis bouchalakis's Avatar
  • Offline
  • Junior Member
More
13 years 1 month ago #81117 by Miltiadis bouchalakis
Replied by Miltiadis bouchalakis on topic Help needed with catItemIntroTextWordLimit
This is Still  A Bug

"Introtext HTML cleanup (tag strip)" to "Yes" doesn't work

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


Powered by Kunena Forum