Intro text formatting stripped in Mini Frontpage module display
- Posted by Blue Krill (1) Offline
 
				Hi,
I am displaying several mini frontpage modules on my home page, [works great btw]. But I am experiencing a problem, wherein the intro text contains multiple paragraphs in my article manager, but when displayed in the mini front page module, everything comes as one big paragraph. Is this is a module issue? Any help will be greatly appreciated.
Regards,
BK
						
								12 years 11 months ago								#1
				by Blue Krill
			
		I am displaying several mini frontpage modules on my home page, [works great btw]. But I am experiencing a problem, wherein the intro text contains multiple paragraphs in my article manager, but when displayed in the mini front page module, everything comes as one big paragraph. Is this is a module issue? Any help will be greatly appreciated.
Regards,
BK
			The topic has been marked as resolved.		
	
												- Posted by ronysyz (191) Offline
 
				Hello bluekrillie,
Can i see your live link for this case?
Thanks
						
								12 years 11 months ago								#2
				by ronysyz
			
		Can i see your live link for this case?
Thanks
			The topic has been marked as resolved.		
	
												- Posted by marver (2) Offline
 
				Hello, got the same issue: www.zeevangondernemers.nl/nieuw/ (left article)
The intro is not taking over the paragraphs from the article. Is this the standard situation, or should it take over the paragraphs?
Thanks,
Martijn
						
								12 years 3 months ago								#3
				by marver
			
		The intro is not taking over the paragraphs from the article. Is this the standard situation, or should it take over the paragraphs?
Thanks,
Martijn
			The topic has been marked as resolved.		
	
												- Posted by erwinschro (1034) Offline
 
				Mmm yes MiniFP will stripped down some of the html tags, incliding paragraph tag based on this line inside /modules/mod_minifrontpage.php
so you can edit that line to add p tag inside so miniFP allowed to display that format.
			
						
								12 years 3 months ago								#4
				by erwinschro
			
		$allowed_tags = "<i><b><strong><br><a>";so you can edit that line to add p tag inside so miniFP allowed to display that format.
$allowed_tags = "<p><i><b><strong><br><a>";
			The topic has been marked as resolved.		
	
												- Posted by marver (2) Offline
 
				I'm sorry, thought I did this. Stupid mistake. Works like a charm now.
Thanks!
						
								12 years 3 months ago								#5
				by marver
			
		Thanks!
			The topic has been marked as resolved.		
	
												- Posted by Judd Muir (5) Offline
 
				Hi, I've edited as suggested, to allow p, ul, ol, li tags.
However, the output is allowing the opening tag but then stripping the < off the closing tag.
E.g. "/p> is coming through instead of "</p>"
						
								11 years 4 months ago								#6
				by Judd Muir
			
		However, the output is allowing the opening tag but then stripping the < off the closing tag.
E.g. "/p> is coming through instead of "</p>"
			The topic has been marked as resolved.