Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Accordion Joomla module

Topic-icon Content Slot Formating

More
5 years 1 month ago #12752 by hafidayllon
Hi, I was wondering if there's a way to use html into the slot content. Or at least, to allow to format the paragraph. When you insert the content into the slot then save. It cleans the format and shows it in one paragraph with no line brakes, bullets, etc. HELP

Please Log in to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #12765 by milos
I think it's possible with Joomla 1.5, but not with Joomla 1.7 as it cuts off all HTML code from the module parameters. Try to disable filtering though: www.hotjoomlatemplates.com/blog/joomla-i...-filtering-in-joomla
Last Edit: 5 years 1 month ago by milos.

Please Log in to join the conversation.

More
5 years 1 month ago #12781 by hafidayllon
Hi Milos,
thank you for the quick response! I tried what you recommended and still no love. Is there any other way to modify or comment a line on the module in order to keep the html tags in the content slot? Thank you for your help

Please Log in to join the conversation.

More
5 years 1 month ago #12805 by ivan.milic
Try this open modules\mod_hot_accordion\mod_hot_accordion.xml


You will recognize for first slot:
<param name="text1" type="textarea" cols="50" rows="2" default="" label="LABEL TEXT" description="DESC TEXT" />

try to cange type="textarea" to type="editors"

Please Log in to join the conversation.

More
5 years 1 month ago #12822 by milos
Unfortunately, what Ivan suggested will give only a list of editors, so it's not going to work.

However, I found a solution. We can add a filter="safehtml" or filter="raw" attribute in the XML field tag for the parameter.

I will make the modification and upload new Accordion module within an hour. You can re-download and re-upload. The only file that will be changed is mod_hot_accordion.xml.
The following user(s) said Thank You: hafidayllon

Please Log in to join the conversation.

More
5 years 1 month ago #12836 by hafidayllon
Awesome! Problem Solved! I appreciate all your help and fast response. You guys rock and continue developing great extensions!!! Thank you again!

Please Log in to join the conversation.

Time to create page: 0.122 seconds

Links, Partners and Social Media