By MisterBox on
I'm trying to get the YUI -editor on my website ?
I've installed everything and wrote in the editor settings
node/*
user/*
comment/*
admin/build/block/add
nothing in the ID
I've changed in the YIU common settings to 'sites/abkwestrand.be/files/lib'
And actived the acces control
I think I did everything as it should but i'm just a beginner so if somebody could help me out and tell me what I did wrong .
I would appreciate ,and I think all other next users of YUI-editor also !
Can't find any topic to xplain me more ???
Thanks already !
Comments
Are you using TinyMCE?
Are you using TinyMCE?
=-=
the user states using the YUI editor.
First thing I've run into with the latest release in IE7 is a js error.
"YAHOO" is undefined.
are you using the YUI 2.3.1 library from yahoo ?
Library
I've created a /lib in my files .
in my settings it looks like this:
sites/abkwestrand.be/files/lib
(It's a a drupal multisite)
Is there something thad I had to put in this library ???
=-=
if you are pointing to your files directory, you need to download the YUI library from http://developer.yahoo.com/yui/editor/ and add it into the files directory.
This is explained in the install.txt of the yui.module
Which file exactly ?
Can you tell me what I exactly have to put in my library , please ???
There's a lot on that page ???
THX
=-=
I must be the only one who reads ; )
download the library from : http://sourceforge.net/projects/yui/
if you still have trouble from there, you may want to file a support request using the YUI editor project page. I believe I've already found a bug or two that I will file issues for.
Thanks !
I'm bussy uploading the library , hope it wil work after that.
I'll try it out later, need some sleep !
It looks like a nice alternative for Tiny-imce !
Thanks again for your help, I'll try to help, even if it will be very limited (i'm not that pro)
fine with yahoo server, directory issue when local
having similar problem. testing it on story content type.
works fine when i get it from the yahoo server. no errors.
However, when installing it locally i get errors and it doesnt appear. i downloaded the yui library and put the contents of the extracted folder ('yui') in files/lib (and change settings on they module page to match). no dice.
5 errors on module page, 10 on story page. apparently cant find the library.
tried leaving it in the yui folder, same.
put the 'yui' folder contents back up one directory again, and tried adding a preceding slash before files, like
/files/libin which i get only 2 errors this time (less but still no good, and no editor yet) on module page and then on story (errors being: YAHOO is not defined, and elem.style has no properties)where to put the yui directory
After trying a number of possibilities I put it in "/files/lib/yui"
doesn't work
I've tried YUI editor with my own theme as well as a default, neither work. I don't get errors, it just doesn't come up. Does anyone know if the current version actually works with drupal 6.2?
Solution
I run Drupal 5.7, but I experienced the same issue.
I was able to fix it by doing the following:
In "YUI Common Settings" I replaced:
http://yui.yahooapis.com/2.3.0 with: http://yui.yahooapis.com/2.5.1
In "YUI editor settings" Paths-field I added: node/*
I checked admin/user/access that my user had permissions to use the YUI Editor.
Then the editor works like a charm. May take some time to load the editor, but you can host the files locally and it will speed up.
IE no-show
Not a solution, since I have the same setting as MisterBox (nearly) and it works perfectly well in Firefox - full visibility and functionality for image uploads etc. However, in IE7 and IE6, it doesnt show, giving an error of "Error: 'button[...] .type' is null or not an object" and "Code: 0". I tried to reset the Common Settings back to the yahooapis server and still no display within IE.
Anyone else manage to get this editor displaying in both IE6 and IE7?
{EDIT} Now fixed - turns out to have been a theming issue. My apologies :)
Your Awesome
After about 2 hours of fiddling around.. this was the cure. You have to add a profile in the YUI editor settings.. Thanks Rentex!!
RE: Solution
I was trying to do the local library install and nothing seemed to work, yet the 2.5.1 link above did work. I finally figured out that the newest versions of YUI (I tried 2.7.0 and 2.6.0 local installs) don't work with the YUI Editor plugin that I had (version 6.x-2.33). I found this page (http://yuilibrary.com/downloads/#yui2) that had YUI lib version 2.5.2 and that worked. Also, to be more specific, I put the library under sites/all/files/lib (renamed the yui folder to lib). On the Administer >> Site Configuration >> YUI Common settings I put sites/all/files/lib. Also, if you've been fruitlessly refreshing an edit page hoping to see the editor pop up, make sure you either clear your browser cache before refreshing or, in Firefox, hit shift reload. Then it should work.
Apparently from version 2.5.2 to version 2.6 or 2.70 of the YUI library they renamed some files from editor-beta-min.js to just editor-min.js (and other files lost the -beta- as well). That's what was breaking the Drupal YUI editor plugin.
Best,
Dave
Solution
Thanks very much, davetbo, for the advice ... after a lot of frustration the YUI editor is now working for me with lib version 2.5.2!
Not able to configure it in
Not able to configure it in my local, YUI editor works fine if i give the IDs of the text areas but not when i give the paths of the pages in which it is needed.