Wednesday 12 April 2006 5:56:35 pm - 236 replies
This thread is for the project SJSD (contribute: http://ez.no/community/contribs/a...d_real_fckeditor_xmltext_integration )
Please ask your questions in this thread rather in the contribution section.
If you do not expect replys, please add comment in the contribute section ![]()
<b>HOWTO DEBUG this extension</b>
As the nature of this project, there are two main sources of bugs: javascript running in client side and the server side php scripts
DEBUG Javascript:
*Firefox (at least 1.5) comes with a javascript console, and it can give precise information about where and why some commands in the javascripts fail.
*IE: without Microsoft script editor/debugger, the error message is basically useless. One of them is recommanded (Microsoft script debugger is free for downloading).
DEBUG PHP:
When using the editor, there are two buttons at the end of the toolbar: the first one will show the current html source of the editor. The second one is more interesting: onloading, it will communicate with ez publish server to get the converted xml from the current html source. There will be a button "Output" after the xml is displayed, it will ask the server to convert the xml back to html, and show it in the window. After this, a ok button will appear, which can be used to set the new generated html back to the sjsd editor.
<b>BEFORE REPORT BUGS</b>
Please check bugs and "feature requests" sections in our homepage: http://sf.net/projects/scim
if it is not there, you can file one (the prefered method), or state it here
Modified on Tuesday 11 January 2011 9:59:40 am by Nicolas Pastorino
Friday 28 April 2006 11:28:53 pm
to meskini:
I tried two empty xmltext, no error at all.
please tell me what's the content of the two xmltext by clicking the third last button
about french encoding: I really have no idea why "l'école" will be replaced with "l'école" by fckeditor automatically, just like < will be replace with < by fckeditor. I think é is allowed in html, or isn't it? Anyone has some clues here?
to Paul Forsyth:
3.8 seems to be a more appropriate target for SJSD, because it supports nested inline custom tags (finally). However, as it is still in beta, so now I concentrate on 3.7.
I also implemented a testunit suite to test SJSD xml input handler for 3.8
Modified on Saturday 29 April 2006 12:17:14 am by liu spider
Saturday 29 April 2006 6:12:26 am
Hello everyone,
just added a new sexy functionality: status bar
It is more advanced than the OE one (again), have a try, and welcome feedbacks/suggestions
I am not good at graphic design, but it seems to me that SJSD definitely needs a logo of its own, could someone contribute one (you will be ackowledged in about dialog (TBD))?
Tuesday 02 May 2006 1:49:07 pm
Hi Liu,
Thanks again for the extension.
I've just installed the new release 0.3.0 with my ezPublish 3.7.5 and FCKeditor 2.2 and it works perfectly including inserting images, links, uploading new images etc.
The only issue I've seen is in the custom tag, Factbox. This raises these 2 errors:
Detected unknown tag 'div' removed.
and then:
Error: Can not find the DIV just added.
For me, this is a minor issue as I will probably remove or replace the factbox custom tag anyway. Just FYI.
Andrew Clarke
On another note, if you need some help with coding, I may be able to help depending on my workload at the time. I have some good PHP experience. Let me know. ![]()
Modified on Tuesday 02 May 2006 1:53:19 pm by Andrew Clarke
Tuesday 02 May 2006 6:25:59 pm
Hi Liu,
Tested using the new 3.8 release from today and i found some image weirdness. When i uploaded a new image and added to the content i dont see the image but text like:
{"align":"center","Custom":[],"view":"embed","size":"reference","object_id":"69","href":"ezobject:\/\/69"}
instead.
Paul
Tuesday 02 May 2006 7:45:56 pm
if upload a *.bmp file, I can reproduce your issue, but jpg files are ok
this is a bug in ezimagealiashandler, not in SJSD
try to use the eZ built-in upload button to upload a bmp image, it will fail to create any alias as well, that why the alt text is shown in SJSD, because src is empty
filed a bug here: http://ez.no/bugs/view/8206
you may try to enable imagemagick
EDIT: just found out that gd does not support bmp, so this is not a eZ bug, sorry
Modified on Tuesday 02 May 2006 7:50:38 pm by liu spider
Friday 05 May 2006 12:58:18 am
I've just installed sjsd extension on my eZ site and it works OK, except that when I write the letter "¦" in it and publish the object, this letter is translated into: "&Scaron". Also "¨" is translated into "&scaron". I tried it both on eZ 3.7 and 3.8, and both on latin2 and utf-8 sites, and the problem is the same.
How can I fix that?
Is this an eZ problem, sjsd problem or FCKeditor problem?
Friday 05 May 2006 1:33:23 am
somebody reported the same issue.
those chars are converted to html entities by fckeditor, and I have no idea why it does that or how to prevent it.
I think we need a developer who knows one of those languages (French, for instance) to debug this
Friday 05 May 2006 10:37:52 am
I fixed the problem by manually editing this files:
./FCKeditor/editor/js/fckeditorcode_gecko_1.js
./FCKeditor/editor/js/fckeditorcode_ie_1.js
./FCKeditor/editor/_source/internals/fckxhtmlentities.js
I just removed the pieces of code where Scaron ans scaron was used:
'Ĺ ':'Scaron'
'ĹĄ':'scaron'
I don't know why this even exsists here, but now it works for my site that's in Croatian.
Maybe one of the FCKeditor developers would know more about it...
liu, what's your workaround about?
Friday 05 May 2006 4:28:35 pm
Thought i'd share another benefit this editor has over the OE: standard keyboard shortcuts work!
For example, to bold text use Ctl-B just as would expect with real document editors. Ctl-I, Ctl-U.
We should enable shortcuts for adding objects/images and so on ![]()
Paul
Friday 05 May 2006 7:30:40 pm
Heres a patch i found for adding keystrokes from the sourceforge forums:
http://sourceforge.net/tracker/in...6&group_id=75348&atid=543655
I havent tested it but it looks like it is quite trivial to add.
paul
Tuesday 09 May 2006 1:00:13 pm
The ditor looks great, but I have a problem when I try to insert an image. After clicking on the paperclip I receive the following error:
"Returned value is not in valid JSON format: Error: Content is not found or function is not reconganized!"
(it does really say "reconganized"![]()
What can I do?
Tuesday 09 May 2006 1:49:50 pm
Did anyone noticed any loss of content with SJSD on eZ publish 3.8.0 while storing/publishing, as described in this bug: http://sourceforge.net/tracker/in...&group_id=164632&atid=832503 ?
Modified on Tuesday 09 May 2006 1:50:12 pm by Kristof Coomans
You must be logged in to post messages in this topic!