Problem with orca forums TinyMCE

georgemedia posted 10th of June 2008 in Community Voice. 3 comments.

I noticed the same problem HERE on boonex as well.

When you hit return twice and try to carry on to a new line with a space between paragraphs, boonex inserts the <p>&nbsp;</p> code.

Of course that flat out doesn't work and the lines end up bunched together like you see in this post.

Is there a fix for that?

 
Comments
·Oldest
·Top
Please login to post a comment.
Stuart038
Yes, I've noticed that. It is a pain having to edit just to sort that out.
SidSpider
I've just spent a day trying to figure out how to get the paragraphs to work properly. It seems it just affects Firefox, IE inserts the full <p>&nbsp;</p>

After playing around with a multitude of configurations in tinyMCE I think I have the solution.

In
orca/layout/base/xsl/canvas_init.xsl & orca/layout/base_en/xsl/canvas_init.xsl

locate the line that says :
entity_encoding : "raw",

and replace with

entity_encoding : "named",

This fixed see more the problem for me. You may have to alter the same line in other scripts where the tinyMCE editor is used, but I haven't looked yet.
SkyForum
Open Templates/base/css/general.css & remove 3 instances of the attribute - margin:0px; - that are associated with the P tag. Also, if you have a custom template, you will need to make the same change in that templates general.css file. If you do it this way, it will take care of the paragraph issue in blogs, news, comments and articles as well.

Make backups. This worked perfectly for me but I'm a moron when it comes to php.
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.075565099716187