By Andrew Thomas on
im trying to install tinymce but for some reason i can not get it to work correctly.
i followed all the install instructions and my file paths seem to be correct
my js file is located at
http://mysite/modules/tinymce/tinymce/jscripts/tiny_mce.js
i go to admin>settings>tinymce and i created a new profile i set up the permissions and everything else i left as default and i am using tinymce default css
everything seems fine but when i go to create content the thing does not show up at all
am i missing a valuable step?
if there is it was not stated in the install text file
someone please help
Comments
did you install the tinymce
if you installed the engine correctly which is located here, http://tinymce.moxiecode.com/, and the drupal module
, gave the necessary permissions and chose for default state true and chose some plugins
everything must be fine
Drupal to rule them all :) www.universideliyiz.biz
Odd how...
That still doesn't seem to be in the docs. :-)
KnowProSE.com
default state=true
Be sure to set "default state" to "true" under the tinymce profile "basic setup"; also try setting "Show disable/enable rich text editor toggle" to true and see if you get an "enable rich text" link under your text area fields (like the signature box on the admin user's "my account" page).
Here's a few other suggestions I just gave someone who's having a similar problem:
http://drupal.org/node/80545
still doesnt show up do i
still doesnt show up
do i need to point the css to a certian file?
i see where there is a link that says disable rich text under my text areas but i dont see the tinymce show
Well, it looks like the
Well, it looks like the module itself is working correctly, at least, if you see the "disable rich text" link. Here are a couple more general things to double-check:
1. What web bowser are you using? TinyMCE works in IE and Firefox, but other browsers are a gamble.
2. Do you have Javascript enabled in your browser? (I'm assuming you do, but just in case).
3. From the source of the page, does it look like TinyMCE is being loaded? You can check this by opening up the page source in your browser and checking in the
<head>tag. It should show:and then a bunch more TinyMCE javascript after that.
Oh: I don't think that any CSS or lack thereof would cause the problem you're having, unless you went out of your way to set
display:nonefor a div containing the toolbar. :)i am using the latest v of
i am using the latest v of firefox
i have this in the head of my page.tpl.php
bump anyone ??
bump anyone ??
support please?
support please?
shouldn't need to modify template
Hi Andrew,
Can you post the JavaScript contents of your HEAD tag from the actual source of your drupal site, on a page where you would expect to see the TinyMCE toolbar? I'd just like to take a glance at it to make sure there isn't some JS bug (e.g. some problem with
tinyMCE.initbeing called twice or something).You shouldn't need to add anything to your page template; the module should add the appropriate JavaScript to your HTML document automatically.
Another thing: On the profile config page, try changing the setting to "Show on every page except the listed pages" and delete all lines from this text box. Does this make a difference?
The reason I suggest this is that I read a thread from another user who encountered a similar issue. In his/her case he default enrty of
node/*, user/*, comment/*did not work becuase of internationalized content.http://drupal.org/node/80545
I should note that I am new to the module myself, just trying to provide some ideas of other things you could troubleshoot.
=======================
Just another newbie.
XHTML Strict: it's the way to be.
=======================
clarification
Er, whoops, missed a sentence. Here's a clarification of which setting I mean:
Administer->Settings->TinyMCE->Edit Profile->Visibility
Show tinymce on specific pages:
(*) Show on every page except the listed pages.
( ) Show on only the listed pages.
( ) Show if the following PHP code returns TRUE (PHP-mode, experts only).
Pages: [box should be empty]
Test to see if that option helps the problem.
=======================
Just another newbie.
XHTML Strict: it's the way to be.
=======================
Thanks - Be certain to review this portion and delete box entry
"Administer->Settings->TinyMCE->Edit Profile->Visibility
Show tinymce on specific pages:
(*) Show on every page except the listed pages.
( ) Show on only the listed pages.
( ) Show if the following PHP code returns TRUE (PHP-mode, experts only).
Pages: [box should be empty]"
There were three entries...when I deleted them anc checked '(*)Show on every page' it worked.
Thanks Mick
thanx for the reply here is
thanx for the reply
here is the javascript from the source of my node/add/story page
i have that code in my page.tpl.php file because thats the only template file i am currently using
template and HTML headers
You shouldn't need to add the segment to any template file at all (unless I am completely misunderstanding something). If you hard-code the JS as above, then you won't be able to configure it via the TinyMCE profile settings interface.
TinyMCE will automatically add the appropriate JS to your headers. This is done within
modules/tinymce.module. Search for the variable$tinymce_invokeinmodules/tinymce.moduleto see how this works.One thing I can think of is that maybe your template isn't using the Drupal-generated header stuff at all? In your
page.tpl.php, do you have something roughly like the following?Also, for my reference, are there other non-bundled modules that you have installed and working?
=======================
Just another newbie.
XHTML Strict: it's the way to be.
=======================
Feature request: HTML Source Formatting in TinyMCE
ahhh yes i love you!!!! i
ahhh yes i love you!!!!
i finally got it working
i removed the javascript and added the drupal print header..
thanx sooo much
Upgrade from 4.7 to 5.1 = missing line in theme....
Situation: Upgrading site from 4.7 to 5.1
Approach: Disabled module, upgraded site, placed new TinyMCE files in modules directory, enabled module
Problem: As described above - Everything seems fine except the editor does not show. Just the the line saying 'disable rich text'.
(note: Problem proven to be theme related as standard 5.1 themes work fine.)
Problem diagnosed as custom theme previously used with 4.7
Solution:
Identify the following lines in page.tpl.php for the theme:
Add two lines to print scripts and fix yuchy IE flashing without any styles; so it now looks as follows:
After that no problems. Simple with 2 x problems fixed.
I guess my next stop is theme upgrading instructions!
tinymce does not load
I installed tinymce according to the install.txt, read all postings because it did not work and tried out everything which was suggested. the "best" results are the links "disable (or enable) rich-text" but nothing happens if I klick that links. Tried out IE and Firefox, both with JS. The only thing I found out was, that tiny_mce.js does not appear to load....
hope anybody can help to overcome this problem.
tinymce.module modified to shorten path to jscripts
When I examined the source for my content page, I found this in the header:
One too many /tinymce subdirectories
I removed the extra subdirectories in tinymce.module
Now Tinymce works.
This function
$tinymce_mod_path = drupal_get_path('module', 'tinymce');
returned this path
/drupal/modules/tinymce/tinymce
and tinymce.module concantenated an extra subdirectory /tinymce/...
-----------
John Walling
Extra tinymce directories
I have the same problem with it adding extra directories. I keep getting this:
Could not find the TinyMCE engine installed at modules/tinymce/tinymce/tinymce/.It is adding an extra tinymce directory.
could you explain in more detail what code you replaced and what you replaced it with that fixed the problem for you?
From your explanation, this is the code in tinymce.module that is causing this problem, how does it need to be changed?
$tinymce_mod_path = drupal_get_path('module', 'tinymce');Thanks,
xinnek
RE: /modules/tinymce/tinymce/tinymce.module
RE: /modules/tinymce/tinymce/tinymce.module
I searched and replaced '/tinymce/jscripts' with '/jscripts' (do not include the single quote marks.)
--> 16 hits
I changed line 466
$tinymce_loc = drupal_get_path('module', 'tinymce') .'/tinymce/';
to this
$tinymce_loc = drupal_get_path('module', 'tinymce') .'/';
(Warning: If you do a search replace from '/tinymce/' to '/' you will get 22 hits of which 5 hits will not be good.)
If you find a more elegant solution to the extra directory, let me know.
John Walling
extra extra extra tinymce directories
I am only now getting the extra tinymce directories appearing after two years of running my site. At first I solved it by just installing an extra sub-directory. But I can't keep doing that. I have not made any changes other than install the development module and then uninstall it 6 weeks ago.
I have looked through all my directories and no files appear to have been amended nor has the tinymce table in the database changed. I'm mystified why this has happened again when I was using the site only this morning succcessfully.
Any ideas why this is happening and what to do to stop it?
what if the js file doesn't show up in the source?
I have installed and when I look at my create content > story source, there is no tinymce.js in the head.
I have a profile, I have the correct permissions, I am using ff.
Any idea why it isn't showing up? I have the file at
modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js
Been through all of the posts on this, but if this doesn't show in the head, I am pretty much dead in the water.
Any ideas?
I ran into the same thing
Hi,
I ran into this same problem after an upgrade from 4.7 to 5.7, but the fix was mentioned above by Netlynx. I turned out that I needed to add the two lines he mentions:
to the html head section of the theme I was using. I had previously used the 4.7 version of the theme, and it had a Drupal 5 version available. However, it wasn't loading my javascript. After adding those two lines, my javascript showed up and tinymce started working.
good luck!
Thank you!!!!!
I tried a whole bunch of different settings though in the mix didn´t do that, I guess.... Here´s to simple solutions.....One ring to rule them all!!!!!
TinyMCE bug?
By default:
Show tinymce on specific pages:
( ) Show on every page except the listed pages.
(*) Show on only the listed pages.
( ) Show if the following PHP code returns TRUE (PHP-mode, experts only).
pages
node/*
user/*
comment/*
Mine site is a bilingual website and I ran into the samiliar problem last week. To fix this problem, I had to do the followings:
Method 1: change the default settings to (*) Show on every page except the listed pages (I also cleared out the page box)
Since I didn't like the above method that much, I kept (*) Show on only the listed pages setting but made the following changes to the pages text area
en/node/*
vi/node/*
en/user/*
vi/user/*
en/comment/*
vi/comments/*
I think this was a bug and I was already created an issue for it.
its not really a
its not really a bug.
tinymce cant expect to know that a site is multilingual. what you've done is correct for a multilingual board. tinymce default settings are in place to work out of the box on a vanilla drupal installation which a site using i118 modules is not.
Multilingual TinyMCE
Hi,
I just stumbled across exactly the same problem trying to enable TinyMCE on my multilingual Drupal site. Rather than hardcode the languages, I solved my install by using the "[*] Show on only the listed pages" option, but used the following patterns:
Which seems to work for me. I'm a total Drupal/i18n/TinyMCE newbie though, so I may have missed something subtle. Try at your own risk and all that.
Cheers,
=Per
Not your case, but may help
Not your case, but may help the others... Please remember, that TinyMCE doesn't work for nodes with "PHP Code" format (node_resivions.format == 2). This is hard-coded into the module and handled by _tinymce_page_match() function.
Hope it helps someone.
Cheers,
Bartek
http://www.siodemki.com
Broken PHP solved!
This is exactly what I needed -----> thanks!
I was checking my permissions and my profiles and my input filters and pulling my hair out trying to figure out why PHP code entered into a block config was having "<?php" instantaneously replaced with "<?--p".
Thank you!
You have saved me hours of debugging!
lots of trouble installing tinymce
I need help installing tinymce.
I have check all the forums and don't have it. I checked my page source and I see the js file called.
I see parts of it in the admin settings.
I don't see it here:
Home » Administer » Site configuration
Input formats
HELP
security role
woodbury,
here it is:
1. Turn on the TinyMCE module (enable)
1. You need to create at least one security role for the tinyMCE: admin/access/roles
2. Create TinyMCE profile and assign it to the security role that you just created: admin/settings/tinymce
3. Assign the new role to your id (or whatever id it is)
That's it, this should do it.
TinyMCE setup issues Drupal 5
Thanks trantt,
I am a neophyte...so I will spell out the menu structure long hand for others. Your menu structure does not match Drupal 5. I apologize for not mentioning I am on Drupal 5
1) I have enabled TinyMCE module as below:
Home»Administer»Site configuration»TinyMCE:
editor mode full
enable tinymce for: both
2) Home»Administer»User management»Roles(I don't see an admin pick for admin/access/roles in Drupal 5)
I have set all 5 roles for access to TinyMCE module and none to admin TinyMCE module
3)I see no admin pick for admin/settings/tinymce (unless it is what I see in step1 above)
4) I am at a loss at this point how to assign the role to my ID. (unless for example as an anonymous user I set access for in step 2)
Are we on a different Drupal version?
I really appreciate your help.
Matthew
TinyMCE setup issues Drupal 5
For 4) Administer»User management»Users and edit your user. At the bottom of the "Account information" box is a checkbox next to the role you created.
I've done all that you have, and checked the role in my user, but I still don't see TinyMCE. I've searched the page source and I do not see TinyMCE.Init being called anywhere.
TinyMCE setup issues Drupal 5
Mighty,
We are in the same boat. Still can't see TinyMCE here.
Per your suggestion for my step 4 I did see where I could assign a role to a user. This however is not the problem IMHO. Clearly if the role, any role is capable of accessing TInyMCE the role does not need to be assigned to the user. To me this is automatic. Someone comes to my site out of the blue and does not authenticate so they are an anonymous user.
I have tested as anonymous and no TinyMCE even though that role had the Home » Administer » User management » Access Control check box for TinyMCE.
What are we missing here?
Matthew
TinyMCE setup issues Drupal 5
I'm sure it's going to be something simple and obvious, and we'll be embarrassed we missed it :-)
Drake
I am having the same problem
This is what I get in my error log:
page not found 01/25/2007 - 02:37 modules/tinymce/includes/jscripts/tiny_mce/tiny_mce.js admin
When I go to detail, I get this:
Type page not found
Date Thursday, January 25, 2007 - 02:37
User admin
Location http://domain.com/main/modules/tinymce/includes/jscripts/tiny_mce/tiny_m...
You may notice, the Location here is a bit different than the location where that tiny_mce.js is supposed to be stored, according to the install instructions.
According to the install instructions, there should be a /sites/all/ just before /modules/
5.0 TinyMCE has issues
http://drupal.org/node/100864
According to this page, there are serious issues with using the 5.0 module of TinyMCE.
I read this page:
http://drupal.org/node/100864
And the maintainer of the 5.0 went AWOL. These folks are trying to get the module back on the track to run on Drupal 5.
I found some experimental code on this page and tried it out (line 24) and it does seem to help BUT I created 4 database errors that frighten me something awful because I am not a coder and have no idea what to do to manually fix my database.
My fault but I guess I was desparate for the TinyMCE...it has become an obsession.
errors as follows. If anyone knows how to fix this please...do tell.
* user warning: Table 'culturej_drupal5.tinymce_settings' doesn't exist query: SELECT s.name FROM tinymce_settings s INNER JOIN tinymce_role r ON r.name = s.name WHERE r.rid IN (2) in /home/culturej/public_html/members/includes/database.mysql.inc on line 167.
* user warning: Table 'culturej_drupal5.tinymce_settings' doesn't exist query: SELECT * FROM tinymce_settings in /home/culturej/public_html/members/includes/database.mysql.inc on line 167.
* user warning: Table 'culturej_drupal5.tinymce_settings' doesn't exist query: SELECT s.name FROM tinymce_settings s INNER JOIN tinymce_role r ON r.name = s.name WHERE r.rid IN (2) in /home/culturej/public_html/members/includes/database.mysql.inc on line 167.
* user warning: Table 'culturej_drupal5.tinymce_settings' doesn't exist query: SELECT * FROM tinymce_settings in /home/culturej/public_html/members/includes/database.mysql.inc on line 167.
M
The thread pointed to above,
The thread pointed to above, is about a patch trying to bring features left out back in. Drupal-Id is not AWOL (Though I don't know if Drupal-id was original module developer, doesnt look to be based on how long he has been a member here at drupal.org) he just isn't committing that patch from the looks of it. He also states that he's released a new version with the release of Drupal RC1. Matter of fact, the maintainer just rerolled the tinymce.module for Drupal 5 on January 24. Which is the version I am installing and have working properly without the need for patches. Drupal-id has also addressed quite a few forum threads in the past 24 hours. There is even a post where the dev's of Drupal are being addressed for needs of WYSIWYG modules. http://drupal.org/node/87740
I have no problems running Tinymce on Drupal 5. I am missing features that were in 4.7.x, but this is by design, not a bug at this point.
The problem with the patch on the link posted is that its is for the tinymce 4.7.x version (porting it to 5). so anyone applying the patch to tinymce 5.x-dev is no doubt running into troubles.
The other thing i've noticed about that issue thread linked to is that Drupal-Id committed a totally different patch, and closed the issue marking it as fixed. Everyone who has responded since the thread was marked fixed, havent "reopened" the issue by marking it as active. They are just typing follow ups in a fixed thread. The developer may not even be seeing this thread is their active issues query.
It may benefit for someone to open a new issue or mark the old one as active, since there are problems with implementations around. I did not use that patch on 4.7 or 5.x.
Moxie is the way to go
I think it's preferable to install Moxie at this point, Misunderstood : http://drupal.org/project/moxie
(You are welcome to be the only Drupaler using tinyMCE for Drupal 5, of course. You have my blessings LOL...)
The maintainer is definately MIA.
Caroline
thanks
spent 2 hours before found your post... i was using the admin role and thought that everything is by default available to admins... it turned out i had to assign my admin user to a role group before tinymce started working
igor
That's it!
Thanks Igor...this solved my issue.
http://www.drupalnotes.org
My step by step way to install TinyMCE on Drupal5
I had issues too installing TinyMCE because I tried to install it the same way I did with 4.7 installatios.
TinyMCE module should not be anymore installed under the /(your public html docs folder)/(your drupal installation folder)/modules/tinymce directory.
Instead, under Drupal5 the new directory hierarchy is this:
I paste my current path on a Windows system with the XAMPP server installed in C:\ :
C:\XAMPP\xampp\htdocs\drupal5\sites\all\modules\tinymce\includes\jscripts\tiny_mce\tiny_mce.js
to get this, follow these steps:
You require BOTH the TinyMCE core distribution + the TinyMCE Drupal module to plug TinyMCE in to Drupal:
1) Download the TinyMCE Drupal module:
http://ftp.osuosl.org/pub/drupal/files/projects/tinymce-5.x-1.x-dev.tar.gz
2) Download the TinyMCE core distribution:
http://tinymce.moxiecode.com/download.php
3) Create a folder called "modules" under "/(your public html docs folder)/(your drupal5 installation folder)/sites/all/"
4) Uncompress the TinyMCE drupal module (tinymce-5.x-1.x-dev.tar.gz or tinymce-5.x-1.x-dev.zip).
Depending on the uncompressing utility and method you use you will get a folder called something like "tinymce-5.x-1.x-dev" and inside, a folder called "tinymce" containing 2 folders and four files: the "includes" and "themes" folders, and the "Licence.txt","Readme.txt","tinymce.info" and "tinymce.module" files
5) Move or ftp-upload this tinymce folder along with all its content to the "/(your public html docs folder)/(your drupal5 installation folder)/sites/all/modules" folder you just created
6) Now uncompress the TinyMCE core distribution (tinymce_2_0_9.tgz ) -version number may vary-.
You will get a folder called something like tinymce_2_0_9 with a folder called tinymce inside, and inside this folder you will get 3 folders and 2 files
Move or ftp-upload the CONTENT (3 folders) of TinyMCE core distribution to:
/(your public html docs folder)/(your drupal5 installation folder)sites/all/modules/tinymce/includes.
You will see folder name like:
/(your public html docs folder)/(your drupal5 installation folder)/sites/all/modules/tinymce/includes/docs
/(your public html docs folder)/(your drupal5 installation folder)/sites/all/modules/tinymce/includes/examples
/(your public html docs folder)/(your drupal5 installation folder)/sites/all/modules/tinymce/includes/jscripts
7) Go to your drupal5 site, go to of the administer/site building/modules section and and enable the TinyMCE checkbox at the botton of the modules list page.
8) Go to administer/user management/access control and enable the checkboxes for TinyMCE access to the group/role of users you choose (initially for testing purposes, you can enable it for the role "authenticated users" so you can test it straightaway from your admin session.
9) Add some content to test TinyMCE is working. (remember you must have javascript enebled in your browser in order to use TinyMCE)
* I had an isse with Firefox + AdBlock plus addon, because it did not allow the TinyMCE table dialogs to appear, just disable AdBlock for your drupal site in order for TinyMCE to work fully.
You may get similar issues with other pop-up / ad blockers you may have installed in your web browser.
still does not work
I really appreciate your detailed instructions.
However, I followed them to the letter and still can't setup a profile in the Tinymce module setup like older versions of the module. I can't setup buttons, etc. It just does not work. There must be something wrong with the module because all I can set is:
Home » Administer » Site configuration
TinyMCE
Basic settings
Editor Mode:
Full
Compact
Simple
FULL: enable all TinyMCE features. COMPACT: enable most used features. SIMPLE: just enable simple editor.
Enable TinyMCE for:
Edit-body only
Edit-comment only
Both
If you want TinyMCE available for textarea of edit-body and comment then you should select Both option.
That is all that can be set.
That is all that can be set. Features were removed from tinymce to be rewritten or just removed in general. The issues querry has a few threads surrounding this issue.
there are no tinymce profiles to be created anymore (at this point in time) for tinymce on drupal5. Which is why you don't see those steps listed in the above installation instructions.
This did the trick
My step by step way to install TinyMCE on Drupal5
davidbl - January 27, 2007 - 13:07
Now that I understand the module changed in terms of setup features it makes sense.
Your setup instructions worked for me Excellent tutorial. I finally have TinyMCE in Drupal5!
Excellent!
Cheers mdwoodbury!
I´m very happy to know my explanation has proven useful to you.
Installation on drupal5 was a little tricky at the beginning for me as well, because I tried to make things in the same way I did in drupal 4.7.5
Let's hope the TinyMCE module will recover its former functionality as drupal5 matures.
Best regards from Spain.
When you download the
When you download the TinyMCE libraries, do not save the /tinymce/ folder into /includes/
Instead, save the /docs/, /examples/ & /jscripts/ folders of the libraries seperately into /includes/.
It worked
Thanks, davidbl, that worked for me. And thanks to this poster. This clarification probably saved me a good deal of time.
Does anyone know an easy way to expand the edit window? It's uncomfortably small. The drag bar below it doesn't appear to work.
Drake
Moxie
Try Moxie : http://drupal.org/project/moxie
Caroline
Moxie is what I was looking for
Thanks, Caroline. That's what I was looking for.
The one installation instruction that didn't work for me was the performance/compression file. I deleted that and it started working.
bilingual and tables with Drupal 5.1
Thanks for these detailed directions, it's finally working.
1. I had to use /tinymce/tinymce/ for the javascript and other folders, not /tinymce/includes/ as indicated by some users here.
2. I had the bilingual websites problem using the i18n internationalization module and so I had to add en-US/ and es/ prefixes to the values: node/* user/* comment/* in the "Show only on the listed pages" field.
3. I also got errors initially because I had to regenerate the two tinymce tables in my database. I was able to dig up the query from the 4.6.x-1 version of TinyMCE (as the tables appear to have not been generated during install) and issue this query in phpMyAdmin.
From tinymce.mysql 4.6.x
--
-- Table structure for table `tinymce_settings`
--
CREATE TABLE tinymce_settings (
name varchar(128) NOT NULL default '',
settings text NOT NULL,
PRIMARY KEY (name)
) TYPE=MyISAM;
--
-- Table structure for table `tinymce_role`
--
CREATE TABLE tinymce_role (
name varchar(128) NOT NULL default '',
rid tinyint(3) unsigned NOT NULL default '0',
UNIQUE KEY name (name,rid)
) TYPE=MyISAM;
---
Nico Tripcevich
UC Berkeley
TinyMCE table not found errors – solved!
Delurking here:
Wow, you really helped me with that! I was getting the TinyMCE errors using the latest TinyMCE and Drupal 5, regarding tables not found... and adding those two tables per your instructions cleared it up beautifully.
What was odd is that I have several sites running off the same Drupal installation, and all were perfectly okay moving up to the latest TinyMCE installation, except one site; that one was spitting out the error, until I fixed its database via your instructions.
Anyway, thanks so much! I demand TinyMCE for my sites, yet it's caused more hair-pulling for me so far than anything else in Drupal. Finally, I'm losing my fear of TinyMCE's mischief, and Drupal for me is all the better for that. : )
Don't see Includes folder
Hi davidbl- I've been having some problems installing TinyMCE on my Drupal 5.1 site, so have been reading through here trying to troubleshoot. I am trying to follow your 9-step process here...
On step #4: you have us decompress our tinymce-5.x-1.x-dev.tar.gz or tinymce-5.x-1.x-dev.zip (I also tried tinymce-5.x-1.9.tar.gz, the official release) and tell us we should have 2 folders: "includes" and "themes"
when I do this I get, for tinymce-5.x-1.x-dev.tar.gz, 3 folders: "themes" "po" and "plugins"
for tinymce-5.x-1.9.tar.gz I get "po" and "plugins"
Obviously without this "includes" folder it is difficult to continue on...any help?
Thanks much!
No includes folder, possible solution
R,
Here are the file extensions I used and it seems to be working
tinymce-5.x-1.x-dev.tar.gz:
C:\wamp\www\yoursite\sites\all\Modules\tinymce
Then I put tinymce 3.0.5 in side tinymce
tinymce_3_0_5
C:\wamp\www\yoursite\sites\all\Modules\tinymce\tinymce
Erik
Theme related FIX
I had a real problem trying to install TinyMCE on the 5.x version of my site, and the issue turned out to be my theme. The one I was using was simply missing the following line which included the javascript:
print $scriptsThe check to see if your theme is affected in the same way is to look at the page source when calling up a page that would invoke the editor. You'll see that the tinymce .js files are missing.
Another workaround
PROBLEM:
i tried all the above (or all the relevant ones to me)....i use drupal 5.1 / postgreSQL on a university server that has more restrictions than a vicars stag night
ive had nothing but problems, mainly to do with images, but thats another story...
anyway....i installed tinyMCE....everything works except NO editor
REASON:
(god knows).....so check the source code first (of the page where the editor should show up).......then at least you'll know if drupal is calling TinyMCE
CHECK YOUR SOURCE CODE:
tinyMCE.init({ mode : "textareas", width : "100%", theme : "advanced",....................etc ....then drupal is not calling it CODE: i gave up trying to figure out 'why' drupal doesnt call it (if anyone knows let me know) i just hard coded TinyMCE underneath thein the page.tpl file where drupal has
print $scriptsis where drupal inserts the call to tinyMCE....if there is nothing in your source code for the page that has any mention of tinyMCE (look for .....print $scriptstag on page.tpl my code is thus (ive removed my absolute address...replaced with 'root'...as is the norm)... print $language " lang="print $language">print $head_titleprint $headprint $stylesprint $scriptstinyMCE.init({ mode : "textareas", width : "100%", theme : "advanced", relative_urls : false, document_base_url : "/path to your root/", language : "en", safari_warning : true, entity_encoding : "raw", verify_html : true, preformatted : true, convert_fonts_to_styles : true, theme_advanced_resize_horizontal : true, theme_advanced_resizing_use_cookie : false, plugins : "advhr,advimage,advlink,autosave,contextmenu,directionality,emotions,flash,fullscreen,iespell,inlinepopups,insertdatetime,layer,paste,preview,print ,searchreplace,style,table,zoom,drupalimage", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "center", theme_advanced_path_location : "bottom", theme_advanced_resizing : true, theme_advanced_blockformats : "p,address,pre,h1,h2,h3,h4,h5,h6", theme_advanced_buttons3 : "advhr,cut,copy,paste,visualaid,removeformat,charmap,help,ltr,rtl,emotions,flash,fullscreen,iespell,insertlayer,moveforward,movebackward", theme_advanced_buttons4 : "absolute,pastetext,pasteword,selectall,print,styleprops,tablecontrols", theme_advanced_buttons1 : "bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,outdent,indent,undo,redo,link,unlink,anchor ", theme_advanced_buttons5 : "formatselect, ", theme_advanced_buttons2 : "drupalimage,image,cleanup,forecolor,backcolor,sup,sub,code,hr,insertdate,inserttime,preview,search,replace,zoom", extended_valid_elements : "hr[class|width|size|noshade],img[class|src|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],a[name|href|target|title|onclic k],img[class|src|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|obj|param|embed],img[class|src|border=0|alt|title|width|hei ght|align|name]", plugin_insertdate_dateFormat : "%Y-%m-%d", plugin_insertdate_timeFormat : "%H:%M:%S", content_css : "/path to your root/sites/all/themes/your theme/style.css", elements : "edit-body" });TINY MCE MANUAL
ok...and to help you configure it...heres the TinyMCE wiki
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration
OVERLAPPING
particularly handy are the " theme_advanced_buttons1 : theme_advanced_buttons2 : theme_advanced_buttons3 : " lines, as these are how you sort out which buttons appear on which rows
i always had trouble with tiny MCE overlapping the text area...but if you create more rows (each with LESS buttons) and center align them (using...... theme_advanced_toolbar_align : "center"......... in the code above) you can stop this happening
by ensuring you set ... mode : "textareas".......instead of ...... mode : "exact",...........drupal will display an editor on every textarea....you dont even have to have the TinyMCE drupal module turned ON
ACCESS CONTROL
now...i know this means you dont have any access control....but its better than nothing
there are bound to be some other problems with this solutions, as ive only just figured it out....but hopefully it may help someone get started at least
Easy install of TinyMCE on Drupal 5.1
After reading countless comments I came across a very lucid article (at least for me) on how to install TinyMCE at http://www.discover-doug.com/2007/01/25/installing-tinymce-with-drupal/.
Just follow the directions and read the comments. In Drupal 5.1, there is no include folder at root]/sites/all/ You will have to create the subdirectory modules too so you end up with root]/sites/all/modules
Then download the two tinymce packages and unzip them (follow the direction exactly).
I had to play around with the TinyMCE package from Moxie code to get it unzipped in the second tinymce directory root]/sites/all/modules/tinymce/tinymce.
editor error
Looked like I installed the editor fine. But when I make any changes using the editor and hit Submit, I get a popup saying "Are you sure you want to navigate away from this page? the changes will be lost if you navigate ....". Even if I hit the ok button it does fine with saving the changes but this popup is annoying. Please help.
thanks
Sudhir
If php input button is enabled then tinymce doesn't work
Thanks for this gem. I have looked everywhere for some idea of why tinymce doesn't work if php input button is enabled. Many posts suggest using php input when adding google adsense ads and when I did this i found that when I returned to edit the story node, the tinymce would not work.
Enable/disable link not working
Hello,
I updated from 4.7.5 to 5.7 and I have some problem wiht TinyMCE.
The module works, I have my TinyMCE buttons, but I can't disable the rich-text with the link under the text I want to edit.
I checked that I can enable/disable rich-text in my admin-tinymce-profile.
It seems as if the javascript doesn't work for switching between enable-disable with the link.
Do you have any idea what to do?
thanks
Having the Same Issue
I also cannot get the enable rich-text link to do anything. It looks like its all installed properly and I have set the permissions properly. I am using Drupal 5.7 and the TinyMCE Modual 5x1.9 and the TinyMCE 2.1.3
I am at a loss.
Please Help!
TinyMCE with Drupal 5.7
Well, I've tested it once more with a new installation of drupal 5.7. I installed everything (TinyMce module + TinyMce at Moxie), gave permissions to users, but the enable rich-text link doesn't work. There must be a bug I suppose.
Try clearing your browser's cache
Had the same problem viewing Tinymce in FireFox and was about to report it. With IE6.0 it worked fine.
The error console in Firefox was reporting that tinyMCE was not being initiated. I cleared my cache and it works. Ditto for similar problems in IE6.0.
Good luck.
Still not working
Thanks, I cleared the browser's cache, but nothing changed. The strange thing is that I tried it on a new installation of Drupal 5.7, so nothing should be buged, but it doesn't work.
When I click on the "disable rich-text" link, nothing happens and on the bottom of my browser window (status bar). In IE6.0 I have an icon with "!" sign with the text "Erron on page". This usually appears when there is a problem with javascript on the page.
So I wonder if it works for other people. You're lucky if yours works.
Sorry to hear that
It's very frustrating. One thing I did notice about tinymce in my story nodes is that the input format has to be set to full html on both the body field and the metatag field (I use the metatag module) for it to work. I still get the error you described if the body field's input format is set to full html and the meta description to something else.
You have nothing to lose at this point, so I would also recheck your profile for tinyMCE and possible set an entirely different one.
Also if you do get it to work and can get the SpellChecker to work, let me know.
Good luck.
Well, I found a bug report
Well, I found a bug report for TinyMCE. The problem is if you use the new version 3 of Moxiecode.
http://drupal.org/node/215580
I have Drupal 5.7 with the tinymce.module 5.x-1.9 and the enable/disable rich-text link didn't work.
So I deleted the version 3 of Tinymce moxiecode and put the version 2 instead and it works perfectly now
Look out for the versions!
I was just downloading the module and the version of the package for maybe 7-th time to try the different recommendations.
Just make sure your Drupal 5.7 i with 2 version of the Tiny
How to install plugin in tinyMCE?
I need to install a plugin "ibrowser" in tinyMCE. I did everything but it requires to add a small bit of script in the heading tag of a page
I found that there is already such a script between head tags whenever TinyMCE shows in page. How can I add plugins : “ibrowser” and theme_advanced_buttons3_add : “ibrowser” in this script. Is there probably a file where I can add this. Or how can I make this add within the script that already exits. The script is like this:
tinyMCE.init({
mode : “exact”,
theme : “advanced”,
relative_urls : false,
document_base_url : “/”,
language : “en”,
safari_warning : false,
entity_encoding : “raw”,
verify_html : true,
preformatted : false,
convert_fonts_to_spans : true,
remove_linebreaks : true,
apply_source_formatting : true,
theme_advanced_resize_horizontal : false,
theme_advanced_resizing_use_cookie : false,
plugins : “advhr,advimage,advlink,autosave,emotions,fullscreen,iespell,paste,preview,print,searchreplace,spellchecker”,
theme_advanced_toolbar_location : “top”,
theme_advanced_toolbar_align : “left”,
theme_advanced_path_location : “bottom”,
theme_advanced_resizing : true,
theme_advanced_blockformats : “p,address,pre,h1,h2,h3,h4,h5,h6″,
theme_advanced_buttons3 : “advhr,cut,copy,paste,emotions,fullscreen,iespell,selectall,print,spellchecker”,
theme_advanced_buttons1 : “bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,link,unlink,fontsizeselect”,
theme_advanced_buttons2 : “image,cleanup,forecolor,backcolor,sup,sub,code,hr,preview,search,replace”,
extended_valid_elements : “hr[class|width|size|noshade],img[class|src|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],a[name|href|target|title|onclick]”,
content_css : “/themes/garland/style.css”,
elements : “edit-comment”
});
I know I can add it directly in page.tpl.php. But tinyMCE will then be activated on all pages. Currently plugins provided by tinyMCE is only shown in pages where it requires, so I want that plugin (ibrowser) listed in this script above. Any help will be appreciated. I'm trying to figure it out myself from last 2 days but nothing seems to be working for me. :-(
firefox problem
The tiny_mce editor stopped working for me in the new version of firefox.
It still works in IE on PC.
Firebug in Firefox 2.0.0.14 under OS X gives me the error message
tiny_mce_gzip.js (line 179)
o is not a constructor
eval(co, w); // Firefox 3.0
In general, the java part of Firefox 2.0.0.14 is broken for me , although its website
blames all problems on buggy java codes.
Hey, maybe I have to get Windows Vista to get tiny_mce working? (just kidding)
Removing compression (tiny_mce_gzip.js tiny_mce_gzip.php) solves the problem for me for now
and it works even in Safari.
fresh install not working
enable/disable link doesn't work and when I click on the link I get page errors in my browser footer.
Originally, I had module 5.19 and engine 3.x installed. I read about a bug with the 3.0 engine and so I
replaced it with the older 2.1 engine. Still same problem. I also deleted my profiles and created them again
and same problem. My directory structure is:
/sites/all/modules/tinymce/tinymce/
Permissions and profiles are set correctly. I am running Drupal 5.7.
Does anyone else have this? Is there anything else I can check or read to fix?
*** EDIT ***
It's fixed, I didn't clear the browser cache after the new install.
sidecontent
ubuntulistener Sorry - a bit off topic
Hey ssace - did you ever get the sidecontent module working on both sides? (old forum post).
Thanx
Thanks for share...
http://www.maxenerji.com | http://www.proxyci.com
how to properly install tinymce
I'm looking to get tinymce running alongside wysiwyg. I've downloaded and installed wysiwyg module. I've enabled it and configured. Scrolled down to tinymce and selected download. Chose zip pack for 3.5.4 and uploaded to server via ftp to sites/all/libraries at this location I've unzipped the files and gone back to config for wysiwyg to look to complete the setup but the module doesn't recognize that tinymce is installed.. I would like someone to show me the way to get this up and running?
Thanks
=-=
what exactly is the path to the changelog.txt file for tinymce?
it should be sites/all/libraries/tinymce/changelog.txt
please confirm