TinyMCE WYSIWYG editor

Creating and modifying plugins.
matthiasm3112
Regular
Posts: 5
Joined: Mon Aug 21, 2006 2:46 pm

Post by matthiasm3112 »

Ooops sorry, on second reload the buttons were there!
Thank you!

One question: why does tinymce not use the default english?
szuszak
Posts: 2
Joined: Fri Sep 08, 2006 5:32 pm

please help

Post by szuszak »

i don't know how to define relative path .I tried many possibilities but doesn't work with me
soemone to help me please ?
thank you
Last edited by szuszak on Fri Sep 08, 2006 5:35 pm, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: please help

Post by garvinhicking »

Hi!

Sure we can help! What exactly did you already try?

Please also describe your path and URL layout that you are using. Also tell us if you followed the instructions and put a .htaccess file into the directory of the tinymce directory to prevent mod_rewrite, if you're using that?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
szuszak
Posts: 2
Joined: Fri Sep 08, 2006 5:32 pm

Re: please help

Post by szuszak »

garvinhicking wrote:Hi!

Sure we can help! What exactly did you already try?

Please also describe your path and URL layout that you are using. Also tell us if you followed the instructions and put a .htaccess file into the directory of the tinymce directory to prevent mod_rewrite, if you're using that?

Regards,
Garvin
Hi dear Garvin

so in the file "serendipity_event_tinymce.php" the path is <script language="javascript" type="text/javascript" src="http://www.mydomainname.org/blog/
plugins/serendipity_event_tinymce/tinymce/jscripts/
tiny_mce/tiny_mce_gzip.php">

and in the administration panel : "/plugins/serendipity_event_tinymce/tinymce"
About instructions, the only instructions i had are on the administration panel.
no .htaccess in my directory
thank you Garvin
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: please help

Post by garvinhicking »

Hi!

Could you give us the full valid URL with your real domainname? Then I could test where that file is accessible. Did you try to enter the URL you see in the <script src=>? It needs to work, if you get a 404 or other error it means that the given path is invalid. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Jeffrey35
Regular
Posts: 44
Joined: Thu Oct 26, 2006 7:38 am

Post by Jeffrey35 »

I ve read this thread now but i cant get it to work either.
This is the url entered in the plugin configuration :/plugins/serendipity_event_tinymce/tinymce/.

Also everybody is talking about this tiny_mce_gzip.php but i cant seem to find any
php files in the tinymce directory.
This is the javascriptcode from the source:

-------------------------------------------

<script language="javascript" type="text/javascript" src="/plugins/serendipity_event_tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode
: "textareas",
language
: "nl",
theme
: "advanced",
plugins
: "imanager,,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen",
theme_advanced_buttons1_add_before
: "save,newdocument,separator",
theme_advanced_buttons1_add
: "fontselect,fontsizeselect",
theme_advanced_buttons2_add
: "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
theme_advanced_buttons2_add_before
: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
theme_advanced_buttons3_add_before
: "tablecontrols,separator",
theme_advanced_buttons3_add
: "imanager,,emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
theme_advanced_toolbar_location
: "top",
theme_advanced_toolbar_align
: "left",
theme_advanced_path_location
: "bottom",
content_css
: "http://www.jeflog.nl/serendipity/index. ... dipity.css",
plugin_insertdate_dateFormat
: "%Y-%m-%d",
plugin_insertdate_timeFormat
: "%H:%M:%S",
extended_valid_elements
: "a[name|href|target|title|onclick|style],img[style|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],div[class|aign|style]",
external_link_list_url
: "example_link_list.js",
external_image_list_url
: "example_image_list.js",
flash_external_list_url
: "example_flash_list.js"
});
</script>

------------------------

Do you know how to solve this problem?

Greetz,
Jeff
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

do you install BOTH tinyMCE packages? There is a tinyMCE compressor-archive or so.
Ciao, Stephan
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Is Serendipity installed in your root directory? If not, try changing the configured path to /{your Serendipity directory}/plugins/serendipity_event_tinymce/tinymce/ instead.

Unfortunately, we're about to start our weekend, so it may be a few days before you get a better response to this question.
Judebert
---
Website | Wishlist | PayPal
Jeffrey35
Regular
Posts: 44
Joined: Thu Oct 26, 2006 7:38 am

Post by Jeffrey35 »

Hey,
I forgot to install the compressor, so I fixed it and now everything works fine. Thanks for the help.

But now I have a new question. When using TinyMCE, you can choose between some fonts. What do I have to do if I want to use more fonts. Can a upload any fonts, or are there only a limit of fonts available for usage on the web. And how do I get them to appear in TinyMCE?

Greetz,
Jeffrey
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

Jeffrey35 wrote:Hey,
I forgot to install the compressor, so I fixed it and now everything works fine. Thanks for the help.
I fall into this trapp, too.

So I think this part of the installation text should be more highlighted or so.
Ciao, Stephan
Jeffrey35
Regular
Posts: 44
Joined: Thu Oct 26, 2006 7:38 am

Post by Jeffrey35 »

For the people experiencing issues with the background color of TinyMCE, just add these lines to the style.css file in your template directory. TinyMCE looks for this code, worked for me.

Code: Select all

/* WHITE TINYMCE BACKGROUND
----------------------------------------------- */

body.mceContentBody {
background: #fff;
color: #000;
}
Greetz,
Jeffrey
Chinster
Regular
Posts: 21
Joined: Tue Aug 28, 2007 4:02 pm

Post by Chinster »

I've just installed this and it seems to be fine but when I click the 'Add image from Media database' button it pops up a new window saying 'You have to be logged in to view this page'.

Anyone know how to fix it?
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Is the mediadata access working, if you are using HTML Area? If not, it is no problem with the TinyMCE plugin but with your installation / client. I guess, it is a cookie problem. While logging in did you click the "remeber me" checkbox?
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Chinster
Regular
Posts: 21
Joined: Tue Aug 28, 2007 4:02 pm

Post by Chinster »

I'm not sure what you mean by 'mediadata' or by HTML Area but I am able to add images ok through the media manager. Oddly, when I go to media library it doesn't show any images, instead it says '- No images found -'

I did check the 'remember me' checkbox though.

Any more guidance muchly appreciated as that little 'Add image from media database' button looks mighty useful!
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

HTML Area is the default WYSIWYG editor that is used, if you disable the tinymce plugin. So it would be interesting for me, if you could disable the tinymce plugin temporarly and try to insert images with html area. I guess this would not work, too, so it is no TinyMCE problem but an installation problem.

With "media access" I meant: All images are stored in the media database (this is the view showing all images). "media access" is a short form for: Accessing the media database (as while inserting images into your article).

That your mediadatabase is not showing any image after uploading is a problem we should fix first. Is the directory you configured for the media database existing on your server and accessible to your server?
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Post Reply