Hi,
I'm trying to use FCK to edit smarty templates, but am having some problems.
FCK removes smarty tags in certain places for example:
<select>
{smarty_tag}
</select>
the smarty tag will be removed
I have consider two solutions, but neither are perfect.
1: Changed the smarty tags from {} to <!--{ }-->. But then the tags do not show in WYSIWYG mode.
2: Add comment tags around certain smarty tags e.g. with the <select> tags. But this leaves the HTML source looking untidy with lots of empty comment tags.
Does anyone else have a better solution?
Thanks,
James
I'm trying to use FCK to edit smarty templates, but am having some problems.
FCK removes smarty tags in certain places for example:
<select>
{smarty_tag}
</select>
the smarty tag will be removed
I have consider two solutions, but neither are perfect.
1: Changed the smarty tags from {} to <!--{ }-->. But then the tags do not show in WYSIWYG mode.
2: Add comment tags around certain smarty tags e.g. with the <select> tags. But this leaves the HTML source looking untidy with lots of empty comment tags.
Does anyone else have a better solution?
Thanks,
James
RE: FCK + Smarty
1. I didn't found any official CVS or SVN repository for FCKEditor
2. In FF (1.0.6) the tag loose it's properties (I think noeditable) when it'a moved with a drag-n-drop action.
3. In IE (6.0 XP) the demo with plugins doesn't load at all. (Sample 6)