Mini Frontpage strips some html and adds characters

Hi,

I installed the Mini Frontpage plugin and love it! Only a weird issue though that I hope you can help me with. I have 2 modules on our homepage with the Mini frontpage. Problem is with the left one where I only want one main article to show completely with a list of archived below. In the attached image I am using
<br /><br />
for paragraphs. First 2 work but then after that module adds it's own characters.

Kinda perplexing as I have tried many options to fix this. Can you take a look at for me please?

Many, many thanks,
Diana
10 years 11 months ago #1 by Diana

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

  • Posted by TemplatePlazza (5310) Offline
Hi can you open file mod_minifrontpage.php, then try to change the line 95 from
$allowed_tags = "<i><b><strong><br><a>";
to
$allowed_tags = "<p><i><b><strong><br><a>";

Btw, any reason why you use <br> to separate your paragraf?
I think the correct way is to use <p> to wrap your paragraf, not to separate them by two <br>
10 years 11 months ago #2 by TemplatePlazza

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

I tried that and it causes all the paragraphs to be ub separate sections with a rounded corner background. Any other suggestions?
10 years 11 months ago #3 by Diana

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

  • Posted by TemplatePlazza (5310) Offline
hmm, how about to use <p> to wrapp your article content? So instead of using stucture like this :
<p> .....
<br><br>
....
....
<br><br>
....
....
<br><br>
....
</p>

you can use
<p> .....
</p>
<p>....
....
</p>
<p>
....
....
</p>
<p>
....
</p>
10 years 11 months ago #4 by TemplatePlazza

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

Tried that and also putting a div around it I get the same result as in the attached image.

Any other suggestions............
10 years 11 months ago #5 by Diana

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

Oh, forgot to mentioned that Joomla stripped out the first p around the other p's so that is why I tried a div and added both to the allowed tags line with the same separated paragraph results. I then removed the p in the allowed tags and then the content had no background or paragraph separations.
10 years 11 months ago #6 by Diana

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

Powered by Kunena Forum