Share » 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 8:56:35 am - 236 replies

Modified on Tuesday 11 January 2011 12:59:40 am by Nicolas Pastorino

Author Message

Philipp Simon

Tuesday 20 June 2006 1:56:31 am

It's me again.

Currently the admin section works fine. No problems.

Unfortunately all images, displayed in admin section, are gone on public site. First I thought, it's an ezPublish problem. Searched the forum, but all hints found don't help me. I still have empty DIV on public site:

<div class="attribute-long">
<div class="object-left"><div class="content-view-embeddedmedia">
<div class="class-image">
<div class="attribute-image">
<p>    
    </p>
</div>
</div>
</div></div>

The right embed image template is used. Access to the media section is granted for anonymous users, so I currently don't know what to do. Anybody has this problem?

I took a look in the database table, and I see, that there is no "HREF" tag in the embed object. I am not so familiar with the templating system yet, but shouldn't there be one? I know there is a object_id tag, but das ezPublish use this?

Help me. :-)

Phil

Marko Žmak

Monday 26 June 2006 2:49:09 am

I would like to know what is the future of SJSD. Now that eZ Online Editor has been released under GPL:

http://ez.no/company/news/ez_systems_releases_ez_publish_online_editor_under_the_gpl

http://ez.no/community/articles/corporate_values_drive_the_opening_of_the_ez_publish_online_editor

will the developement of SJSD continue, or it will join the developement of Online Editor in some way, or it will stop?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

liu spider

Monday 26 June 2006 7:27:35 am

short answer is: yes, I will continue it

as to whether collaborate with OE, I have no idea now, that not only depends on me ;)

will put up a blog entry for this with more details when time permits

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Marko Žmak

Wednesday 28 June 2006 4:58:32 am

A neat idea would be to join OE with SJSD so that FCK editor can be used with OE. I see that FCK editor i widely used and has many features. So having all its functionallity in OE would be really great.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Kirill Subbotin

Monday 10 July 2006 5:51:43 am

I just wanted to try SJSD but can't activate it. I've done everything from INSTALL file, but when I try to edit an article, it doesn't show edit field, but js alerts "Unknown toolbar item EZ_Format", about 5-6 alerts like this and nothing else.

I use latest ezp trunk, sjsd 0.3.1 and FCKEditor 2.3.

Pawel Orzechowski

Monday 10 July 2006 7:36:30 am

Kirill Subbotin, read carefully SJSD docs. FCKeditor 2.3 not working, you must switch back to 2.2. Support for 2.3 is on the way. While I testing SJSD with new FCK 2.3, some errors occur, but after uploading version 2.2 - disappear and working ok.

Kirill Subbotin

Wednesday 12 July 2006 4:18:24 am

Aha! Thank you!. It works with FCK 2.2.
What can I say - this is a really impressive and interesting extension. Although it has some bugs and inconsistancies. But we'll investigate it further and figure out how can we use it's advantages in the Online Editor. Probably we really can join these projects.

Paul Borgermans

Wednesday 12 July 2006 6:29:46 am

Mm

That's good news (merging both projects)!

Custom buttons (for custom tags) make a real world difference, ;-)

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Marko Žmak

Wednesday 12 July 2006 8:07:29 am

Joining sounds really great. One big advantage is that FCKEditor is a different project so the eZ team will not have to work so much on the GUI but only on it's integration.

Another advantage that such integration could bring to OE is an integrated support for text fonts and sizes (wich for now is missing in OE). This would probably need a lot of work, but I think it's worth doing it.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

John Smith

Wednesday 26 July 2006 7:01:32 am

hi there,

Just wonder, is fckeditor extension work for ezpublish 3.6.1.

Smith

David Jones

Thursday 10 August 2006 5:38:59 am

Sorry for the silly question.

I have installed and cleared cache but I cannot see the editior. When I click "Enable Editor" nothing happens (other than the button change to "Disable Editor".)

I assume that it is because of this:

<i>"you use virtual host, so you have to make sure *.html and *.xml and *.js can be accessed directly

so please modify your rewrite rules"</i>

But how do I modify the rewrite rules?

Thanks

Marko Žmak

Monday 14 August 2006 6:13:42 am

Have you enabled sjsd in user roles?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

David Jones

Monday 14 August 2006 6:20:52 am

How?

Err, i guess that means no.

David Jones

Monday 14 August 2006 6:22:32 am

there is a role called editor in the list. Is that what you mean?

Marko Žmak

Monday 14 August 2006 6:46:23 am

If you want to use sjsd as anonymous user then you should edit the Anonymous role, ad a new policy and choose sjsd from the drop down menu.

If you're trying to use it as administrator user, then you have already all permissions and the problem is in something else.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

David Jones

Monday 14 August 2006 7:09:36 am

I am the admin user.

Others ides welcome

David Jones

Monday 14 August 2006 7:30:19 am

Just to clarify,

I am using:
FCK 2.2
EZP 3.8
SJSD 0.3.1

I have followed the instructions in the install doc and all I am getting on pressing the enable editor button is:

Error: FCKeditor is not defined

Thanks again for your help

David Jones

Monday 14 August 2006 7:59:21 am

OK, I'm not entirely sure what I did but it now kinda works.

I have one remaining problem which I would love some help with.

One loading this error pops up in a dialog box

Error loading &#8220;/extension/sjsd/FCKeditor/fckstyles.xml&#8221;

If anybody knows why, grateful I would be.

Marko Žmak

Thursday 17 August 2006 3:36:49 am

<i>OK, I'm not entirely sure what I did but it now kinda works.</i>

Maybe you cleared the cache :)

As for the error you're getting now, have you enabled .xml files in your rewrite rules?

P.S. When dealing with online editors, clearing your browser cache (besides eZ cache) is also a good thing, since some parts of the editors are cached in your browser.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

David Jones

Thursday 17 August 2006 4:07:05 am

My Rewrite rules looks like this

<VirtualHost *>
<Directory "E:\ApacheSites\eZpublish\ezpublish">
Options FollowSymLinks Indexes ExecCGI
AllowOverride All
</Directory>

DocumentRoot "E:\ApacheSites\eZpublish\ezpublish"
RewriteEngine On

# For all known data directories we let Apache serve it directly

Rewriterule ^/var/storage/.*                                                   - [L]Rewriterule ^/var/[^/]+/storage/.*                                             - [L]

RewriteRule ^/var/cache/texttoimage/.*                                         - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.*                                   - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.*                  - [L]
Rewriterule ^/share/icons/.*                                                   - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.*                                               - [L]


RewriteRule ^/extension/sjsd/(FCKeditor|fcksjsd)/.* - [L]
RewriteRule ^/extension/[^/]+/design/[^/]+/fckskins/.* - [L]

RewriteRule !\.(gif|jpe?g|png|css|js|html|xml)|var(.+)storage.pdf(.+)\.pdf$ /index.php

# Compatability with 3.3 and lower

RewriteRule ^/kernel/setup/packages/.*                                         - [L]

# If not PHP should serve the page

Rewriterule .* /index.php

ServerName localhost

</VirtualHost>

Does that look right to you?

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

36 542 Users on board!

Forums menu