html tags

Where do I add the code?
Before and after what code?
Or replace <?php echo strip_tags($item->introtext,'<img />'); ?>
2 years 10 months ago #7 by Jose

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

  • Posted by TemplatePlazza (5318) Offline
Replace
echo JHtmlString::truncate($item->introtext, $introtext_truncate, true, false);  ?>

with
echo strip_tags($item->introtext,'<img />'); ?>
2 years 10 months ago #8 by TemplatePlazza

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

This replacement continues removing the html tags
2 years 10 months ago #9 by Jose

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

  • Posted by TemplatePlazza (5318) Offline
Err sorry, please replace this :
echo JHtmlString::truncate($item->introtext, $introtext_truncate, true, false);  ?>
with this
echo strip_tags($item->introtext,'<a>,<h2>,<h3><p>'); ?>
2 years 10 months ago #10 by TemplatePlazza

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

This solution works fine allowing the links taps.
Thank you very much for your technical support.
2 years 10 months ago #11 by Jose

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

  • Posted by TemplatePlazza (5318) Offline
You're very welcome jtusa;)
2 years 10 months ago #12 by TemplatePlazza

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

Powered by Kunena Forum