Minifrontpage and HTML tags
- Posted by Marina W (2) Offline
Hello. I just installed the module for the first time and I noticed it strips the html tags included in the intro. Is there a way to change this?
Thanks for your help!
1 year 9 months ago - 1 year 9 months ago #1
by Marina W
Thanks for your help!
Last edit: 1 year 9 months ago by Marina W.
The topic has been marked as resolved.
- Posted by TemplatePlazza (5260) Offline
Hi, You can do that via template override. ( If you don't know how to create template override you can follow this video :
Then find this code :
change that to
1 year 9 months ago #2
by TemplatePlazza
Then find this code :
echo JHtmlString::truncate(strip_tags($item->introtext), $introtext_truncate);
change that to
echo $item->introtext;
The topic has been marked as resolved.
- Posted by Marina W (2) Offline
Thank you!
The line of code I had to replace was a bit different:
but you pointed me in the right direction and I was able to identify it and make the replacement.
Great extension, thanks!
1 year 9 months ago - 1 year 9 months ago #3
by Marina W
The line of code I had to replace was a bit different:
echo JHtmlString::truncate($item->introtext, $introtext_truncate, true, false);
but you pointed me in the right direction and I was able to identify it and make the replacement.
Great extension, thanks!
Last edit: 1 year 9 months ago by Marina W.
The topic has been marked as resolved.