Can't format text
- Posted by Patrick Doyle (3) Offline
I purchased the 3D Article Carousel and also using the free minifrontpage (but will be purchasing the Pro). The text is displaying as a single paragraph. I would like both extensions to carry over the formatting from the articles being pulled.
I searched the forums and found one solution to minifrontpage that did not work for me. May have been an older post/version. I tried to add $allowed_tags = "<p><i><b><strong><br><a>"; to /modules/mod_minifrontpage.php but again to no avail.
The development server and page are here: howardm1.sg-host.com/
Both the "Latest News From Temple Beth Torah" and the "Information and Highlights: sections on the Home page are where there is no formatting.
Please advise on solutions and thank you for excellent extensions & support!
With respect,
~Patrick
4 years 7 months ago #1
by Patrick Doyle
I searched the forums and found one solution to minifrontpage that did not work for me. May have been an older post/version. I tried to add $allowed_tags = "<p><i><b><strong><br><a>"; to /modules/mod_minifrontpage.php but again to no avail.
The development server and page are here: howardm1.sg-host.com/
Both the "Latest News From Temple Beth Torah" and the "Information and Highlights: sections on the Home page are where there is no formatting.
Please advise on solutions and thank you for excellent extensions & support!
With respect,
~Patrick
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi I see that you are using the portfolio theme so please find this code below in modules/mod_minifrontpagepro/tmpl/portfolio.phpchange that to :
4 years 7 months ago #2
by TemplatePlazza
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 Patrick Doyle (3) Offline
Thank you that worked perfectly! I decided to use the carousel and added it also to this .php file and again, it worked flawlessly!
Thank you again and I'm going shopping for more extensions. You rock!
4 years 7 months ago #3
by Patrick Doyle
Thank you again and I'm going shopping for more extensions. You rock!
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
- Posted by Patrick Doyle (3) Offline
Sorry, one follow-up question.
Inside the articles in minifrontpagepro it is displaying the Module title. Even if I turn off the module title.
How may I eliminate the inside module title and still display the module title normally?
Thank you..!
4 years 7 months ago #5
by Patrick Doyle
Inside the articles in minifrontpagepro it is displaying the Module title. Even if I turn off the module title.
How may I eliminate the inside module title and still display the module title normally?
Thank you..!
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
In modules/mod_minifrontpagepro/tmpl/portfolio.php , find and remove this line :
4 years 7 months ago #6
by TemplatePlazza
<div class="mfp_block_title"><h4><?php echo $module->title; ?></h4></div>
Please Log in or Create an account to join the conversation.