- Posts: 3
- Thank you received: 0
Content Slot Formating
-
hafidayllon
Inactive member - Topic Author
- New Member
Less
More
13 years 1 month ago #12752
by hafidayllon
Content Slot Formating was created 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.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6761
- Thank you received: 718
13 years 1 month ago - 13 years 1 month ago #12765
by milos
Replied by milos on topic Re: Content Slot Formating
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: 13 years 1 month ago by milos.
Please Log in to join the conversation.
-
hafidayllon
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 1 month ago #12781
by hafidayllon
Replied by hafidayllon on topic Re: Content Slot Formating
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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 month ago #12805
by ivan.milic
Replied by ivan.milic on topic Re: Content Slot Formating
Try this open modules\mod_hot_accordion\mod_hot_accordion.xml
You will recognize for first slot:
try to cange type="textarea" to type="editors"
You will recognize for first slot:
Code:
<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.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6761
- Thank you received: 718
13 years 1 month ago #12822
by milos
Replied by milos on topic Re: Content Slot Formating
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.
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.
-
hafidayllon
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 1 month ago #12836
by hafidayllon
Replied by hafidayllon on topic Re: Content Slot Formating
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.086 seconds