TinyMCE WYSIWYG editor
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.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
If you can check your serendipity_config database table, the "template" variable there should tell you "default", right?
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/
# 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/
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.
-
Guest
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Can you make a screenshot of that, or give me an account to your s9y installation?
Regards,
Garvin
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/
# 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/
-
Guest
I get the same error like davecjr.
Here is the code - the directory is right - i'm using tinymce 2.0rc3.
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>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.
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.
Last edited by hitzi on Thu Oct 13, 2005 3:15 pm, edited 1 time in total.
-
MySchizoBuddy
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
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
).
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
-
Guest
-
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
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
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
If you use mod_rewrite you need to put a .htaccess file in your directory with the contents "RewriteEngine Off".
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/
# 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/
