Forums / Install & configuration / Online Editor

Online Editor

Author Message

Mike Socher

Friday 13 June 2003 10:04:02 am

I followed the installation instructions for online editor (rh9). I still cannot get the plugin to work. I'm connecting with the recommended browser (>=ie5.5). I need some help please..

Paul Borgermans

Friday 13 June 2003 10:40:06 am

Be sure to clear the entire cache, the Online editor is driven from the templates and ini files.

If this does not help, please post the steps you went through. I think one of the steps was missing from the docs, but it was so obvious that I don't remember what exactly.

--paul (newly formatted, its friday the 13th)

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

Mike Socher

Friday 13 June 2003 11:22:20 am

eZ publish Online editor installation manual
--------------------------------------------

1. Copy editor-1.0-1.tar.gz to the directory where you have installed eZ publish 3.

2. Go to this directory and run command: tar -xzvf editor-1.0-1.tar.gz.

3. Move unpacked file site.ini.append in directory extension/ezdhtml/ to eZ
publish main directory settings/override/. If you already have a
site.ini.append in your override/ directory, add the following line to
it somewhere:

[ExtensionSettings]
ActiveExtensions[]=ezdhtml

[MediaClassSettings]
#ImageClassID[]=5

4. Make sure your rewrite rule looks like this:

RewriteRule !\.(gif|css|jpg|png|jar|js)$ /path_to_ezpublish/index.php

Replace /path_to_ezpublish/ with the path to your ezpublish directory. If
you made changes to the rewrite rule, restart apache.

5. Uncomment lines under [MediaClassSettings] and change ImageClassID to which
you used in your system. If image class you created is id 6, change it to 6.
If you have created another image class, write another line
"ImageClassID[]=image_id" under [MediaClassSettings].

6. All done (not).

These steps apparently do not work.

Paul Borgermans

Friday 13 June 2003 11:52:48 am

Did you assign the rights for using the editor? admin should have them of course (with * * for module and functions) .

BTW, I did not try the editor with anything else then IE 6.

--paul

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

Mike Socher

Friday 13 June 2003 12:16:43 pm

Maybe the image class id I'm using is not consistant with ImageClassID[]=5. How would I determine if my image class id is 5 or something different?

btw - Thank you for helping me out here.

Jo Henrik Endrerud

Saturday 14 June 2003 12:48:42 pm

I don't think the image class id is your problem (but it is worth a try anyway). I'm no guru in the online editor (never use IE) but to find the ID's of your class you can simply go to "set up" in the admin site and browse the class list. Here you will find all classes on your site and the ID of the different classes are placed to the left in front of the class name

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Mike Socher

Monday 16 June 2003 8:08:35 am

You are correct. I checked the image class id and it matches the override file. I guess the search for my issue continues.

Paul Borgermans

Monday 16 June 2003 8:12:33 am

What version is your ezp server? It won't work with beta1.

Maybe...

--paul

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

Mike Socher

Monday 16 June 2003 8:19:56 am

ezpublish-3.1.0-2

Wenyue Yu

Monday 16 June 2003 8:47:04 am

Hi,

Online editor should work fine for beta 2. Could you send a mail to me (wy@ez.no) with your site/pass, so I can find problem.
Anyway, the current editor is for version 3.0 and we will release next editor version together with eZ publish 3.1 final release. This version will include new features such as context-menu, status bar, table cell editing and much more.

Best regards,
Wenyue Yu

Mike Socher

Monday 16 June 2003 12:33:07 pm

Regretfully the site will not be accessible to the public. It will only be used for internal purposes. Therefore I cannot grant access to you. In addition, an e-mail has been sent to info@ez.no requesting a solution.

Mike Socher

Monday 16 June 2003 12:37:21 pm

I forgot to add that I attempted to install the plug-in with 3.0, 3.1b1, and 3.1b2. All were unsuccessful.

Christian Lundvang

Wednesday 18 June 2003 12:13:39 am

Hi.
I'm having some problems getting it to work. Explorer gives me the following error message: "eZEditor is undefined". This message is displayed twice.

Somebody who can help me?
Thanks in advance

--
Best Regards
Christian Lundvang
http://www.nxc.no

Bård Farstad

Wednesday 18 June 2003 12:40:40 am

Christian; that error most likely occurs because of the webserver is set up with rewrite rules. This means that the javascript (.js) file is not served.

You need to alter your rewrite rules to allow serving of javascript files.

E.g:
RewriteRule !\.(gif|css|jpg|png|js)$ <httproot>/ezpublish-xxx/index.php

--bård

Documentation: http://ez.no/doc

Christian Lundvang

Wednesday 18 June 2003 1:15:20 am

Thank you. I had forgotten js in the rewriterule.

--
Best Regards
Christian Lundvang
http://www.nxc.no

Mike Socher

Wednesday 18 June 2003 8:20:27 am

Still an issue getting OE to work with beta2. However, I now have it working with 3.0. Using the rh9 installer. Here's how.
*Run the installer after download as per online doc instructions.
) ezpublish directory is placed under /opt
*Download and untar OE to /opt/ezpublish/sites/default
) tar -xzvf editor-1.0-1.tar.gz
) you will now see an /extension folder under /default
*Move site.ini.append in directory extension/ezdhtml/ to /opt/ezpublish/sites/default/settings/override.
) Uncomment/Change the line #ImageClassID[]=5 in /opt/ezpublish/sites/default/settings/override/site.ini.append to ImageClassID[]=5.
*You can verify your ImageClassID by logging into your site under admin. Then navigate to Set up (Tab), Classes (on left), and Media (under class groups) to reveal your ID.
*Now you must appand your Rewrite Rules. They can be found under /opt/ezpublish/apache_1.3.27/conf/virtual_hosts.
) Append each of the files listed with: RewriteRule !\.(gif|css|jpg|png|jar|js)$ /opt/ezpublish/sites/default/index.php
*Restart apache:
) CD to /opt/ezpublish/apache_1.3.27/bin.
) type ./apachectl -k stop.
) then type ./apachectl -k start.
*You can now use IE >=5.5 to access the admin site and start using OE.

Hope this helps

--Mike

Mike Socher

Wednesday 18 June 2003 11:24:03 am

Set-up ezp 3.1.0-2 (beta 2) following the instructions above. OE works with beta 2 as well.

Mike

Libsy Stems

Tuesday 29 June 2004 2:29:54 pm

Can someone please tell me where I can make the following changes?

__________________________

4. Make sure your rewrite rule looks like this:

RewriteRule !\.(gif|css|jpg|png|jar|js)$ /path_to_ezpublish/index.php

Replace /path_to_ezpublish/ with the path to your ezpublish directory. If
you made changes to the rewrite rule, restart apache.
______________________________

I'm not familiar with rewriterule and dont know where to find it. A text search did not find RewriteRule in any of my ezpublish directories.
I used the ezpublish Installer, bundled with Apache, MySQl etc.

Alex Jones

Wednesday 30 June 2004 6:03:43 am

Libsy, the rewrite rule should be in your .htaccess file in your eZ publish installation directory. This file is a hidden file, which explains why it didn't show up on a search of your directory. You may need to tell your operating system to show you hidden files.

Let us know if this doesn't provide enough detail.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Libsy Stems

Wednesday 30 June 2004 10:35:23 am

Thanks Alex, I found rewrite rule in .htacces and made the changes necessary. I successfully installed Online Editor.