Content Slot Formating

More
12 years 3 months 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.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
12 years 3 months ago - 12 years 3 months 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: 12 years 3 months ago by milos.

Please Log in to join the conversation.

More
12 years 3 months 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
12 years 3 months ago #12805 by ivan.milic
Try this open modules\mod_hot_accordion\mod_hot_accordion.xml


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
  • Moderator
More
12 years 3 months 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.
The following user(s) said Thank You: hafidayllon

Please Log in to join the conversation.

More
12 years 3 months 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.182 seconds
Powered by Kunena Forum