YUI editor doesn't appear ?

MisterBox - October 16, 2007 - 21:37

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 !

Are you using TinyMCE?

jimi089 - October 16, 2007 - 22:34

Are you using TinyMCE?

=-=

VeryMisunderstood - October 16, 2007 - 22:38

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 ?
_____________________________________________________________________
Confucius says:
"Those who seek drupal answers should use drupal search!" : )

Library

MisterBox - October 17, 2007 - 01:40

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

=-=

VeryMisunderstood - October 17, 2007 - 01:42

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

Installation
------------
- The is two different way of how to consume the yui library.
1. Hosting approach (default)
Uses the required yui library directly form http://yui.yahooapis.com servers
2. Local approach
Download the yui library.
Create a directory and extract the library. (this path must be accesible from browsers)
- Login as an administrator. Enable the module in the "Administer" -> "Site building" -> "modules"
- Edit the settings under "Administer" -> "Site configuration" -> "YUI Common Settings".
- If you like to use the library locally enter the location of your library.
If you extract the library under files/lib so enter just files/lib to "Location of YUI library".

_____________________________________________________________________
Confucius says:
"Those who seek drupal answers should use drupal search!" : )

Which file exactly ?

MisterBox - October 17, 2007 - 01:48

Can you tell me what I exactly have to put in my library , please ???
There's a lot on that page ???

THX

=-=

VeryMisunderstood - October 17, 2007 - 01:52

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.

_____________________________________________________________________
Confucius says:
"Those who seek drupal answers should use drupal search!" : )

Thanks !

MisterBox - October 17, 2007 - 02:05

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

rpmute - October 18, 2007 - 01:24

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/lib in 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

avi.wollman - April 11, 2008 - 06:36

After trying a number of possibilities I put it in "/files/lib/yui"

doesn't work

armsch6 - June 11, 2008 - 11:28

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

rentex - June 21, 2008 - 11:53

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

Wally-VSL - July 29, 2008 - 11:21

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

 
 

Drupal is a registered trademark of Dries Buytaert.