I've installed TinyMCE for Drupal 4.6x exactly as the instructions say. All tables were added, and I've enabled the module.

Right below my text areas, the link "disable rich-text" is visible, but there are no TinyMCE buttons.

I've made sure to add a profile and link the appropriate roles to that profile and default state is "On"

Here are my settings for TinyMCE :

Make tinymce visible on:
specific pages:
node/*
user/*
comment/*

Options: left at default (blank for editor width and height)

On save: left at default (true, true, false)

Editor CSS: TinyMCE default
CSS Path: blank
CSS Classes: blank

Formatting: Force BR new lines: True
Force P new lines: True

Any idea why my editor is not showing up? Tested on IE and Firefox with Javascript enabled on both

all help is appreciated,
-=Vince

Comments

pembeci’s picture

Can you check the page source to see if there are any references to button images? If there are and they don't show up it may be a permissions or path problem. You should also see some javascript related to TinyMCE at the page source. Make sure also your access controls are set correctly so the role you are using have access to TinyMCE.

georgestopka@gmail.com’s picture

I just have a feeling that you've skipped steps 2 and 3 in the INSTALL.txt.

For the TinyMCE module to work, you've got to go to tinymce.moxiecode.com and download TinyMCE, then upack it in the modules/tinymce/ directory.

Maybe this is the case?

oziumjinx’s picture

I downloaded the entire package from Moxiecode.com. I placed it in the appropriate area so the structure of my folders from /modules looks like this:

I've made sure the folder structure is accurate with the instructions.

I've also checked the Access Control page and those specific roles have the appropriate permissions...also, as i am logged in as admin, i should be able to see the controls regardless of my role.

Not sure where to go from here. Drupal.org is not letting me paste the code but there is quite a lot of it towards the top of the page:
Example:

function mceToggle(id, linkid) {
 if (tinyMCE.getEditorId(element.name) == null) {

tinyMCE.init({
    mode : "exact",
    theme : "simple",

oziumjinx’s picture

i can see all the javascript from tinymce scattered throughout the source but the tools are just not coming up....really stuck here

joemoraca’s picture

something similiar happened to me and it was because I didn't have the non-drupal part of tinymce in the correct folders.... works fine after I moved them.

Joe Moraca
http://www.moraca.org

oziumjinx’s picture

Ok, within the modules directories I have a folder labeled tinymce.

inside this folder (/modules/tinymce) i have these folders:
/plugins
/po
/tinymce
and these files
tinymce.module
tinymce.mysql

inside the /modules/tinymce/tinymce folder i have these folders
/docs
/examples
/jscripts
and these files
changelog
readme
todo

inside the /modules/tinymce/tinymce/jscripts folder i have one folder:
/tiny_mce

and that contains a number of folders

are these in the right locations?

Thanks a lot for the help,
-=Vince

pembeci’s picture

It looks OK. Is the permission of modules/tinymce/tinymce and its subfolders 644? Are you getting any Javascript errors? Check also the version of tinymce you downloaded and make sure it is supported by the Drupal TinyMCE module you are using.

oziumjinx’s picture

I've made sure that I downloaded TinyMCE version 1.4 which the TinyMCE drupal module suggested.

Permissions are set to 644 as well. No Javascript errors.

oziumjinx’s picture

Would the TinyMCE be affected by my modified theme? I've made some major visual adjustments to the box_grey theme.

pembeci’s picture

I wouldn't think it is your theme. It may cause problems later but it wouldn't affect the displaying of the buttons. I am assuming you didn't add any theme function related to tinymce but using the one in the module (theme_tinymce_theme).

Can you copy/paste the part of the page source related to tinymce init? You have some of it above but not all of them. I am out of ideas unless the init code has smt weird in it. You may try to open an issue at the module's page. Did you try using the advanced theme of TinyMCE?

oziumjinx’s picture

I really appreciate all your help. After tearing out most of my hair, I just switched to the FCKeditor and had no problems whatsoever getting this up and running.

-=Vince

colindean’s picture

If you remove this:

print $scripts;

from the top of your page.tpl.php, tinymce won't work (it contains javascript necessary to make it function)

kevinwalsh’s picture

Hey, i just had this same problem, and i realized that i had stupidly uploaded the same TinyMCE folder twice, once into

>> modules

and once into itself:

>> modules >> TinyMCE

instead of uploading the TinyMCE engine into the TinyMCE folder.

The weird thing is that the warning message that you get if you haven't installed the engine in the right place went away, apparently it's content enough if it sees TinyMCE folder there, regardless of the contents. The moral of the story is to keep your downloads folder organized, and/or don't write modules that contain two folders that are named the same!