Both TinyMCE and FCKeditorX convert -> to ->

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
nygauk
New Member
New Member
Posts: 9
Joined: Mon Apr 21, 2008 7:41 am

Both TinyMCE and FCKeditorX convert -> to ->

Post by nygauk »

Hi when I include the {edit} tag to edit the frontend based on whose logged in - the editor converts the tags after submission of the updated page, i.e.

from

{if $ccuser->loggedin() && $ccuser->memberof('Admins')} {edit} {/if}

to

{if $ccuser->loggedin() && $ccuser->memberof('Admins')} {edit} {/if}

The selection statement subsequently gives smarty syntax errors.

How do I prevent this corruption by the editor?

Thanks


David
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Both TinyMCE and FCKeditorX convert -> to ->

Post by KO »

Edit html source or disable WYSIWYG possibility.
nygauk
New Member
New Member
Posts: 9
Joined: Mon Apr 21, 2008 7:41 am

Re: Both TinyMCE and FCKeditorX convert -> to ->

Post by nygauk »

Thanks KO.

I know that but if you have a front end user that doesn't know HTML they will enter their stuff, exit and the edit prompt will have become corrupted!

How can I maintain the integrity of the selection statement across the various (non-HTML conversant) frontend user edits that will take place?

Dave
Connie

Re: Both TinyMCE and FCKeditorX convert -> to ->

Post by Connie »

you can define whether FCKEditor will convert or not,

the customization is done mostly in the FCKEDITORXcfg.js.php

but all settings which are not done here are read from /FCKeditor/fckconfig.js

read here:
http://docs.fckeditor.net/FCKeditor_2.x ... codeOutput

check, that it is set to "false", not to "true" in your configuration:

Code: Select all

"FCKConfig.HtmlEncodeOutput = false ;"  


the options for HTML-Output are described here:

http://docs.fckeditor.net/FCKeditor_2.x ... TML_Output
nygauk
New Member
New Member
Posts: 9
Joined: Mon Apr 21, 2008 7:41 am

Re: Both TinyMCE and FCKeditorX convert -> to ->

Post by nygauk »

Thanks Connie - but I've read the documentation, checked the settings (FCKConfig.HtmlEncodeOutput is set to false) and it still does it!

Any more ideas anyone?

Thanks
Connie

Re: Both TinyMCE and FCKeditorX convert -> to ->

Post by Connie »

maybe the FCKEditor-Forum at fckeditor.net?

did you log out, clear the cache, log in again?
nygauk
New Member
New Member
Posts: 9
Joined: Mon Apr 21, 2008 7:41 am

Re: Both TinyMCE and FCKeditorX convert -> to ->

Post by nygauk »

I'll try the forum - thanks for your help Connie
Post Reply

Return to “Layout and Design (CSS & HTML)”