This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » SJSD WYSIWYG editor based on...

SJSD WYSIWYG editor based on FCKEditor for ezxmltext

SJSD WYSIWYG editor based on FCKEditor for ezxmltext

Wednesday 12 April 2006 5:56:35 pm - 236 replies

This thread is for the project SJSD (contribute: )

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 happy.gif Emoticon

<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).

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.

Please check bugs and "feature requests" sections in our homepage:
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

Thursday 17 August 2006 1:37:45 pm

I myself use a little bit simpler rewrite rule set but your's should be OK too.
I don't know what could be the problem... Here are some ideas:

- check if the file /extension/sjsd/FCKeditor/fckstyles.xml really exsists and has the right access permissions.

- try clearing both eZ cache and your browser cache.

Thursday 17 August 2006 1:48:03 pm

Tried those...
still the same.

Could you post your rewrite rules so I can try those.


Thursday 17 August 2006 2:09:03 pm

Quite simple:

# Enable the rewrite engine first
RewriteEngine On

# 1. condition: every URI that doesn't begin with "index.php"
RewriteCond "$1" "!^index\.php"

# 2. condition: every URI that doesn't end with some of these extenions
RewriteCond "$1" "!\.(gif|jpe?g|png|css|js|html|jar|xml)$"

# 3. Rewrite Rule: add "index.php" to beginig of the URI
RewriteRule "^(.*)$" "index.php/$1"

Thursday 17 August 2006 2:41:33 pm


I replaced mine with yours and cleared all the caches but the same problem peresists.

The file I'm editing is

I assume that this is correct.

Thanks again for your continued help

Thursday 17 August 2006 2:58:31 pm

Actually I place my rewrite rules in .htacces file in eZ publish directory, but this depends on your web server configuration.

Try opening the file:


via your web browser and see what happens.

Thursday 17 August 2006 3:33:17 pm

You don't have permission to access /extension/sjsd/FCKeditor/fckstyles.xml on this server.

Apache/1.3.33 Server at localhost Port 8080

How do I grant access?

Friday 18 August 2006 8:16:41 am

The problem is probably somewhere in apache config (Deny, Allow directives) or in file permissions. I would say that it's rather in file permissions. Are you sure you have set up the right file permissions after you unpacked FCKEditor? The user under which apache is running should have "rx" permissions on FCKEditor's folders and files.

P.S. This is valid under the asumption that you are using eZ on a Linux/Unix server. Is this right?

Friday 18 August 2006 10:48:12 am

Thanks, but no, it's running under IIS

Friday 18 August 2006 11:05:51 am

Then it should be a problem in apache config or in windows file permissions.

a) apache config - try disabling all rewrite rules and allowing all acces to your files
b) windows file permissions - make sure that the user under which apache process is running has the permissions for read and list folder content for FCKEditor files and folders

After you've done that, clear the eZ cache and your browser cache and try again to open that file in your browser.

If this is not working try investingating your apache config further more.

P.S. How do you acces your eZ site? Is it in root folder (e.g. or in some subfolder (e.g.

Friday 18 August 2006 11:35:14 am

Thanks I've got it working. Well I've got rid of the error.

I added this to my htaccess file

<FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js|html|xml)|var(.+)storage.pdf(.+)\.pdf)$">
order allow,deny
allow from all

However, I still cant see the default sample custom styes in the editor.

Do they appear in the drop down containing the heading 1, heading 2 etc or do they have their own drop down?

Do i need to enable this somewhere?

Thanks for all your help

Friday 18 August 2006 11:52:24 am

It's ok, i found it.

Thanks for our patience and all your help.

Sunday 12 November 2006 11:53:41 am

Hello. I was a user of the FCKEditor extension that was used before SJSD was released.

I was able to install the SJSD extension and get everything working, however, when I enable the editor, rather than seeing the HTML rendered, i am presented with the underlying HTML code being displayed. I think this has something to do with those literal tagsbut was curious if anyone had run into this before i try and work it out myself.

Any help appreciated.

Wednesday 07 February 2007 11:52:47 am


I've installed the extension SJSD 0.3.1 to use the FCK Editor 2.2, i've configured the library of pictures, then i can put a picture in my textarea, but when i publish my page, and then when i want to modify again, i've the error :

"Can't fetch object. href: , objectID: , nodeID:" in the textarea... 

why do i have this message ??

my fckeditor is not in relation with the library of EZ, is it possible to make that ?? how ??

when i look at the properties of the picture, the url is : "/var/my_site/storage/fckeditor/Image/Image2.gif"...

Can you help me please ??


Wednesday 07 February 2007 11:54:45 am


I've installed the extension SJSD to use the FCK Editor, i've configured some news styles in the 'fckstyles.xml' file, and when i apply one style, for example the source is :

<span class="style1">test</span>

and the defintion of the style in the 'fckstyles.xml' file is :

<Style name="style1" element="span">
        <Attribute name="class" value="style1" />

and the style is :

        color: green;
        font-size: 16px;
        border: 1px solid blue;
        background-color: yellow;

but when i publish my page, i've the error : "Can not determine the name for the custom tag: 'test'. Ignored."

Do you know why i have this error ??


Friday 15 June 2007 2:08:10 pm


How do we configure FCK editor tool bar set .
I want to add one image in tool bar set right click on this image will show me some option
say(image/weblink...) on select of the option it opens a text box in the editor and if the user type some url then this url will be associated to selected type.
I need to know how we post the form to save the url too....

Thanks in advance...


Saturday 11 August 2007 1:42:32 pm

Greetings Liu Spider,

Some time ago you asked if the creators of the smilefckeditor were interested in on joint collaboration and cooperator on a combined solution.

We wanted to ask you if you were still interested in such a collaboration.

We are preparing a solution very similar to the for mentioned extension for certification and wished to invite your participation.

Re: Continued development of smilefckeditor as bcfckeditor (in short term) and interest in merging solutions with SDJD, <i></i>

This request is in response to a customer driven project which will result in the continued development of the bcfckeditor extension. We very much would like to hear from you.



Modified on Saturday 11 August 2007 1:44:45 pm by // Heath


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from