PDA

View Full Version : How Is Tinymce Integrated with WordPress?


skeezix
11-02-2007, 10:17 AM
I have Tinymce and Advanced Tinymce. I unzipped Tinymce but I couldn't find anything in the Tinymce forum docs that tells one just how to integrate it locally or at a remote host.

Not sure how to proceed. I use WP for my online website but would like to try Tinymce both locally and online. Can somebody give me a clue? Or two??

areidmtm
11-02-2007, 03:05 PM
http://tinymce.moxiecode.com/ has all the info you need to set this up.

Check out the Manual/Wiki section, you might have to do some reading.

skeezix
11-03-2007, 12:36 PM
http://tinymce.moxiecode.com/ has all the info you need to set this up.

Check out the Manual/Wiki section, you might have to do some reading.

I did check out the Manual/Wiki section, and I did do some reading.

The installation instructions say:

======================
Download.
For download instructions check our TinyMCE Website (http://tinymce.moxiecode.com/).
Simple enough. I did that.

Extract.
You should extract TinyMCE in your wwwroot or site domain root folder.
Also simple. But is there an advantage or disadvantage where TinyMCE is placed??

A folder structure is like this is created...
Okay, I'll take your word for it.

Making changes on your web site.

Once you have extracted the archive you will need to edit the pages to include the configuration and javascript for TinyMCE. Please note that you should probably only include the TinyMCE javascript on the pages that need it, not all the pages of the web site. Remember to change the URL to the .js below to match your installation path.

Okay. Which files? As a beginner, how am I supposed to know which files?

What does "should probably" mean? "Should probably" means the writer is not sure about his subject. And which pages (pages?? does the writer mean "files" here???) need the TinyMCE javascript? Again, as a beginner, I don't know these things. I can only do what I'm told.

And the only URL I could find in "the .js below" was a URL to a demo page. Is that the URL being refered to? Scary. Over the last few weeks, I've read a lot of procedures that left out a step or two, and left me, well, cautious.

Okay, I can change the URL.

But wait! The example given is for "the most basic page integration". I want the advanced model :) . So I browse to Example 02 where I see this code:


tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "table,save,advhr,advimage,advlink,emotions,iespell ,insertdatetime,preview,zoom,flash,searchreplace,p rint,contextmenu",
theme_advanced_buttons1...


Okay, so I put that code after "tinyMCE.init({, right?

I can do that.

Then I see that my WordPress 2.3.1 installation contains Tinymce. I look around for the likely file to insert this code into and come up with:

tiny_mce-config.php

Great! I'm on my way! But wait - what's this?! That file has no tinyMCE.init({ line. Instead, it has a bunch of stuff about an init array, to wit:

tinyMCE.init(initArray); :(

Again. I'm no programmer. What's an array? What do I do when the Tinymce installation examples don't fit with the code I have?? I'm a beginner with this stuff. Maybe I need some help. Okay, I'll go to the Bluehost forum and see what I can find.

So I come to this forum to get a clue, but instead a "moderator" tells me (twice) to go read the docs. Nothing like being talked down to.

If the Tinymce wiki explained how to buy a fishing pole to somebody who never fished, it would be something like this:

1. Go to a store that sells fishing poles.

2. Buy one that's your size.

3. You probably should change it around a bit so it works.

My point is, I have gone as far into the woods as I can, and am not sure of my footing, so I come here for help. Wasn't able to get quite all the details I needed from the Tinymce doc's installation procedure. Heck, if it weren't for the WordPress automatic inclusion of Tinymce, I wouldn't have known even as little as I do.

areidmtm
11-03-2007, 04:57 PM
Have you asked this question on the TinyMCE help forum? http://tinymce.moxiecode.com/punbb/index.php

I'm sure that they can give you better instructions on installing this. I have installed TinyMCE before, but I am a programming and explaining things like that to a non-programmer is not my strong point.

There is probably someone there that would be able to help you more than someone here.

skeezix
11-04-2007, 10:14 AM
Have you asked this question on the TinyMCE help forum? http://tinymce.moxiecode.com/punbb/index.php

I have installed TinyMCE before, but I am a programming and explaining things like that to a non-programmer is not my strong point.


Okay, I understand what you mean. I am a technical writer but sometimes I cannot even program my VCR ;) . Now if I were a programmer AND a technical writer, I would be living in Fat City. I have asked for help in the TinyMCE forum and I am making progress. Luckily for me, WordPress comes with TinyMCE. All I need to do is figure out how to activate it. Until I do that, I am stuck with wysiwygPro.

areidmtm
11-04-2007, 11:00 AM
Okay, I understand what you mean. I am a technical writer but sometimes I cannot even program my VCR ;) . Now if I were a programmer AND a technical writer, I would be living in Fat City. I have asked for help in the TinyMCE forum and I am making progress. Luckily for me, WordPress comes with TinyMCE. All I need to do is figure out how to activate it. Until I do that, I am stuck with wysiwygPro.

I have installed wordpress before and TinyMCE was already activated and i didn't have to do anything else to make it work.

skeezix
11-15-2007, 09:22 PM
I think I found my problem. TinyMCE does get installed with WordPress. However, I became confused, because I was also working with a new website located in a folder that did not have WP activated. In that case, the html editor was the default "wysiwygPro", and I couldn't figure out why TinyMCE was not available in that folder.