Page 1 of 1
FCKeditor
Posted: Mon Jan 17, 2005 2:54 pm
by megabob3
There is a problem
with FCKeditor, if write {cms_module module="singapore" layout="block" }
this will translated it in {cms_module module="singapore" layout="block" }
Wishy must find me a solution on this problem, or can you add on your CMSMS function, the capability to understand {cms_module module="singapore" layout="block" } like {cms_module module="singapore" layout="block" }
to understand that inside {...} " are equal "

?
Bye

FCKeditor
Posted: Mon Jan 17, 2005 3:58 pm
by megabob3
I inserted COMMENT on this file:
FCKeditor/fckeditor.js
line 154
//text = text.replace(/"/g, """) ;
FCKeditor/editor/_source/internals/fckxhtmlentities.js
line 251
// '"':'quot',
But nothing changed
The problem remain.
FCKeditor
Posted: Mon Jan 17, 2005 4:18 pm
by megabob3
Comment also
/*text=text.replace(/"/g,""");*/
inside
FCKeditor/editor/js/fckeditorcode***.js
and nothing again
I don't know what else to change

FCKeditor
Posted: Mon Jan 17, 2005 4:31 pm
by megabob3
FCKeditor
Posted: Mon Jan 17, 2005 4:37 pm
by megabob3
I hope do not become crazy
Wishy if you can add the function
of understand that inside {...} " are equal "
it's better
better for me, surely

FCKeditor
Posted: Tue Jan 18, 2005 7:37 pm
by megabob3
I don't know how, i don't know why.
But i used the editor folder of FCKeditor example for PHP.
Now all it's OK

FCKeditor
Posted: Tue Jan 18, 2005 7:50 pm
by Ted
Very cool. I was hoping there was a better solution, because hacking smarty to use " would have been a VERY BIG chore.
FCKeditor
Posted: Tue Jan 18, 2005 8:02 pm
by megabob3
Now i have a bad connection, tomorrow i will update the latest version.
Bye

FCKeditor
Posted: Wed Jan 19, 2005 12:56 pm
by megabob3
Lol with my substitution of "editor" folder i resolved the problem of quote.
But now, FCKeditor save file and forlder on UNIX system with "\"
"images\apache_pb.gif"
It do the operation but with this "\" instead of "/".
I must continue with my crazing
See you after

FCKeditor
Posted: Thu Jan 20, 2005 12:07 am
by R
I think a single quote ' works with Smarty, and does not get changed by the editor