html tags
- Posted by Jose (33) Offline
How to allow HTML taps in mfp_introtext in the default theme to show links?
2 years 11 months ago #1
by Jose
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5318) Offline
Hi, you can do that by creating a template override (if you don't know how to create it you can follow this video ) then change then change this part :into
2 years 11 months ago #2
by TemplatePlazza
echo JHtmlString::truncate($item->introtext, $introtext_truncate, true, false); ?>
echo $item->introtext;
Please Log in or Create an account to join the conversation.
- Posted by Jose (33) Offline
In what file i can find the line ?
echo JHtmlString::truncate($item->introtext, $introtext_truncate, true, false); ?>
2 years 11 months ago #3
by Jose
echo JHtmlString::truncate($item->introtext, $introtext_truncate, true, false); ?>
Please Log in or Create an account to join the conversation.
- Posted by Jose (33) Offline
Thank you very much, I found this on line 202, now is showing the link tags
2 years 11 months ago #4
by Jose
Please Log in or Create an account to join the conversation.
- Posted by Jose (33) Offline
Now the default card appears as duplicates one line without introtext and other with the correct introtext showing the link tags, see attached screenshot or view datepalmsnursery.com/shop
2 years 11 months ago #5
by Jose
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5318) Offline
Sorry for delay, I missed your reply:(. It's because you post the image inside the body. Try to change previous part into this code :
2 years 11 months ago #6
by TemplatePlazza
<?php echo strip_tags($item->introtext,'<img />'); ?>
Please Log in or Create an account to join the conversation.