Related items
- Posted by boillat (13) Offline
I just bought the new version.
I want to display introtext formatted; In the old version I had to change in the helper ligne 402-403How do I achieve this in the latest version ... i haven't found
Thanks for your help
jph Boillat
2 years 9 months ago #1
by boillat
I want to display introtext formatted; In the old version I had to change in the helper ligne 402-403
public static function cleanIntrotext($introtext)
$introtext = str_replace('<p>', '<p> ', $introtext);
$introtext = str_replace('</p>', '</p> ', $introtext);
Thanks for your help
jph Boillat
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) 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
2 years 9 months ago #2
by TemplatePlazza
Then find this code :
echo JHtmlString::truncate(strip_tags($item->introtext), $introtext_truncate);
echo $item->introtext;
Please Log in or Create an account to join the conversation.
- Posted by boillat (13) Offline