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

Marko Žmak

Thursday 17 August 2006 4:37:45 am

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.

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

Hubert Farnsworth

David Jones

Thursday 17 August 2006 4:48:03 am

Tried those...
still the same.

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

Thanks

Marko Žmak

Thursday 17 August 2006 5:09:03 am

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"

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

Hubert Farnsworth

David Jones

Thursday 17 August 2006 5:41:33 am

Thanks

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

The file I'm editing is
eZpublish\apache\conf\ezpublish.conf

I assume that this is correct.

Thanks again for your continued help

Marko Žmak

Thursday 17 August 2006 5:58:31 am

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:

/extension/sjsd/FCKeditor/fckstyles.xml

via your web browser and see what happens.

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

Hubert Farnsworth

David Jones

Thursday 17 August 2006 6:33:17 am

Forbidden
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?

Marko Žmak

Thursday 17 August 2006 11:16:41 pm

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?

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

Hubert Farnsworth

David Jones

Friday 18 August 2006 1:48:12 am

Thanks, but no, it's running under IIS

Marko Žmak

Friday 18 August 2006 2: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. http://my.server.com/) or in some subfolder (e.g. http://my.server.com/subfolder)?

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

Hubert Farnsworth

David Jones

Friday 18 August 2006 2: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
</FilesMatch>

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

David Jones

Friday 18 August 2006 2:52:24 am

It's ok, i found it.

Thanks for our patience and all your help.

Robert Thompson

Sunday 12 November 2006 2: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.

Anthony M.

Wednesday 07 February 2007 2:52:47 am

Hello,

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 ??

Anthony

Anthony

Anthony M.

Wednesday 07 February 2007 2:54:45 am

Hello,

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" />
</Style>

and the style is :

.style1
{
        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 ??

Thanks
Anthony

Anthony

Prem Singh

Friday 15 June 2007 5:08:10 am

Hi..

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

Prem

Heath

Saturday 11 August 2007 4:42:32 am

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>http://ez.no/community/contribs/datatypes/smile_fckeditor#msg101900</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.

Respectfully,
Heath

<i>Re: http://ezpedia.org/wiki/en/ez/online_editor</i>

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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

36 542 Users on board!

Forums menu