Page 2 of 7
Posted: Sat Aug 13, 2005 1:59 am
by davecjr
Any idea what would make the entry area be forced to about three times the normal width? I was using Tiny_mce like normal for a while and now every time I try to do an entry with tiny_mce enabled the entry area is very wide and tiny_mce doesn't show up. I can do without but it sure was nice! I didn't change anything related to the plugin that I know of.
Posted: Sat Aug 13, 2005 5:38 pm
by garvinhicking
The WYSIWYG uses the frontend template's style, and depending on the widts set for the template style this could mangle the WYSIWYG editor...
Regards,
Garvin
Posted: Sat Aug 13, 2005 10:16 pm
by davecjr
Makes complete sense but now I can't change templates. I've been using codeschmiede for a while now and when I try to change to the default, it says I'm using default but nothing changes. I tried Leaf and it just messes up the header. Any ideas on what would prevent changing templates now?
Posted: Sun Aug 14, 2005 2:37 am
by garvinhicking
Hm, the default template is "Serendipity 2.3", did you choose that one? If you didn't overwrite files it should show up on your frontpage!
If you can check your serendipity_config database table, the "template" variable there should tell you "default", right?
Regards,
Garvin
Posted: Sun Aug 14, 2005 7:10 am
by davecjr
It did change my front page when I changed to 2.3 and it did say default in the table it also changed when I changed to Joshua template. Some of the other tamplated I tried earlier just seemed to mess things up but none change the template for the way things look when I'm logged in for the admin side. It's still the codeschmiede template for admin.
Posted: Mon Aug 15, 2005 3:33 am
by Guest
After logging in and out and different browsers it never changed the template for the admin side of things. Now today the admin is back to default but the tiny_mce editor still makes the entry windows about three times the size and none of the buttons of tiny_mce show up.
Posted: Mon Aug 15, 2005 12:59 pm
by garvinhicking
Can you make a screenshot of that, or give me an account to your s9y installation?
Regards,
Garvin
Posted: Thu Oct 13, 2005 1:51 pm
by Guest
I get the same error like davecjr.
Here is the code - the directory is right - i'm using tinymce 2.0rc3.
Code: Select all
<script language="javascript" type="text/javascript" src="/www/htdocs/hitblog/plugins/serendipity_event_tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode
: "textareas",
language
: "de",
theme
: "advanced",
plugins
: ",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
: ",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://blog.hitziger.net/serendipity.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>
Posted: Thu Oct 13, 2005 2:21 pm
by hitzi
I was the guest in the last post.
I found the error. Don't use the full path use a relative one.
I had to replace "/www/htdocs/hitblog/plugins/serendipity_event_tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php" with "/plugins/serendipity_event_tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php" in my case.
It's working now but the background of the editbox has a dark color - how can i change this?
[EDIT]
Don't work very well. Any popup window (color, smileys, ...) opens the main website (maybe because of the htaccess file). The background of the editbox is dark because of the used s9y style. If I change the style to a blue one then i got a blue editbox in tinymce
[EDIT2]
Made a new css file and changed in "serendipity_event_tinymce.php" the content_css line to: content_css : "example_full.css"
Disabling the line "RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]" in the htaccess file helps with the popup windows.
Posted: Thu Oct 13, 2005 3:15 pm
by MySchizoBuddy
thats a problem with tinymce. people on tinymce forum are having same issue wiht the editor taking on the color of the <Body> tag.
yeah tinymce 2.0RC3 is out and so is FCKeditor 2.1. we need to test both of these two releases.
Posted: Thu Oct 13, 2005 3:19 pm
by hitzi
I edited my post as you posted yours. So please read [EDIT2] in my post.
I tried FCKeditor 2.1 too - I could only use the relative path again in this case and when i try to write a new message i'll only get the main page (blog) in the editor area. That's because of the line "RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]" in the htaccess file. Removing it and FCKeditor works very well (like tinymce now too

).
Posted: Tue Nov 01, 2005 9:46 am
by Guest
hitzi,
thank you! i was scratching my head over the exact problem you described (main page showing in htmlareas) when trying out FCKeditor.
after removing "RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]" from the .htaccess file everything seems to be working properly!
cheers,
james
Posted: Wed Nov 02, 2005 9:17 pm
by jhermanns
installing it exactly as described has been working for ages and also like a charm, with imanager and everything. very nice.

Posted: Mon Nov 07, 2005 1:33 pm
by Guest
Ok now. I've installed TinyMCE as described and got no errors. The Problem is, that no buttons are shown at all

The Path is relative ('/plugins/seren.../tinymce/'), the JS is in the code of the page, but when I try to make a new entry from the admin interface, no buttons appear at the top of the edit field.
Maybe someone can help me.
CU
ali
Posted: Mon Nov 07, 2005 4:37 pm
by garvinhicking
Have you tried to call the URL that points to the javascript in your browser, and see if that URL yields a 404 error or something different?
If you use mod_rewrite you need to put a .htaccess file in your directory with the contents "RewriteEngine Off".
Regards,
Garvin