Related items

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-403
public static function cleanIntrotext($introtext)
$introtext = str_replace('<p>', '<p> ', $introtext);
		$introtext = str_replace('</p>', '</p> ', $introtext);
How 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

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 :
echo JHtmlString::truncate(strip_tags($item->introtext), $introtext_truncate);
change that to
echo $item->introtext;
2 years 9 months ago #2 by TemplatePlazza

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

thanks
2 years 9 months ago #3 by boillat

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

Powered by Kunena Forum