Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm running drupal 5.1 and htmlarea 5.x-2.0-beta3. everything appears to be enabled and settings appears to be fine, but when i go to any edit page or create content page, the textarea is just a normal area. any thoughts?
Comments
Comment #1
dojohnso CreditAttribution: dojohnso commentedoh, also have Xinha .92beta in a folder named "xinha" under the htmlarea folder (htmlarea/xinha/)
Comment #2
marxav CreditAttribution: marxav commentedI have a the same problem. I placed Xinha in a separate folder under htmlarea. When I edit a page, I get this pop up window:
WARNING: _editor_url is not set! You should set this variable to the editor files path; it should preferably be an absolute path, like in '/htmlarea/', but it can be relative if you prefer. Further we will try to load the editor files correctly but we'll probably fail.
Comment #3
ffunky CreditAttribution: ffunky commentedAnother one to the list. my drupal installation is not in the root of my htdocs, however. Maybe that's the issue?
Comment #4
chip CreditAttribution: chip commentedI've got this problem too, including the "_edutir_url is not set" popup.
I compared on a site where htmlarea is working, and found that the following bits are present in the working site, but do not appear in the page of the broken site:
Comment #5
chip CreditAttribution: chip commentedThis may be a theme-related issue. When I switched from the custom bluemarine-based theme to garland, the problem went away.
Comment #6
MikeyGYSE CreditAttribution: MikeyGYSE commentedSo what needs to be done to a custom theme to allow HTMLArea to show up, it's loading the javascript files on BOTH themes, but only shows on garland, not my custom theme. I need a WYSIWYG style editor before I can make the site public, it's the final step before adding content so it's of paramount importance. Is there something which needs adding to the theme? The error IE is throwing up is that "HTMLArea is not defined".
Comment #7
manoloka CreditAttribution: manoloka commentedGot the same problem here;
WARNING: _editor_url is not set!
Helpsssss
Comment #8
gordon CreditAttribution: gordon commentedIf Xinha is working in Garland, then your custom theme is not interting variables into the page.
Check the top and the bottom, as the actual loading of Xinha is done at the bottom of the page.
Comment #9
chomatz CreditAttribution: chomatz commentedfinally got my htmlarea module to work... fixed my Gagarin theme by editing the page.tpl.php file and adding <?php print $closure ?> just before the </body> tag...
Comment #10
gordon CreditAttribution: gordon commentedI think that this is to do with the theme, and not htmlarea.
Comment #11
(not verified) CreditAttribution: commentedComment #12
jsruok CreditAttribution: jsruok commenteddidn't do the trick for me (as it existed in the theme already).
What worked was adding
in the head tag.
Theme was for drupal 4.7 but I'm using 5.x if that has anything to do with it.
Comment #13
jbuck CreditAttribution: jbuck commentedI have the same problem with "_editor_url is not set". I've spent hours researching this problem with no solution. Actually I've found several, but they either don't work or are abstruse. The above posting #4 doesn't say where the script snippet comes from, so what use is it?
If _editor_url is not set, where the heck do you set it? It shouldn't be this difficult. (Overall I've found Drupal convoluted and surly).