FCKeditor

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

FCKeditor

Post 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 :)
Last edited by megabob3 on Mon Jan 17, 2005 4:23 pm, edited 1 time in total.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

FCKeditor

Post 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.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

FCKeditor

Post by megabob3 »

Comment also

/*text=text.replace(/"/g,""");*/

inside
FCKeditor/editor/js/fckeditorcode***.js

and nothing again :mad: :evil:


I don't know what else to change :(
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

FCKeditor

Post by megabob3 »

Noooooo :x

On examples of FCKeditor, this don't happen.

I am investigating

:roll: :roll: :roll: :roll: :roll: :roll:
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

FCKeditor

Post by megabob3 »

I hope do not become crazy

Wishy if you can add the function
of understand that inside {...} " are equal "
it's better :D





better for me, surely :P
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

FCKeditor

Post 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 :D
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

FCKeditor

Post by Ted »

Very cool. I was hoping there was a better solution, because hacking smarty to use " would have been a VERY BIG chore.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

FCKeditor

Post by megabob3 »

Now i have a bad connection, tomorrow i will update the latest version.

Bye :)
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

FCKeditor

Post 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 :D

See you after :)
R

FCKeditor

Post by R »

I think a single quote ' works with Smarty, and does not get changed by the editor
Post Reply

Return to “Developers Discussion”