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
Both TinyMCE and FCKeditorX convert -> to ->
Re: Both TinyMCE and FCKeditorX convert -> to ->
Edit html source or disable WYSIWYG possibility.
Re: Both TinyMCE and FCKeditorX convert -> to ->
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
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
Re: Both TinyMCE and FCKeditorX convert -> to ->
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:
the options for HTML-Output are described here:
http://docs.fckeditor.net/FCKeditor_2.x ... TML_Output
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
Re: Both TinyMCE and FCKeditorX convert -> to ->
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
Any more ideas anyone?
Thanks
Re: Both TinyMCE and FCKeditorX convert -> to ->
maybe the FCKEditor-Forum at fckeditor.net?
did you log out, clear the cache, log in again?
did you log out, clear the cache, log in again?
Re: Both TinyMCE and FCKeditorX convert -> to ->
I'll try the forum - thanks for your help Connie