<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=580421414-16082007><FONT face=Arial
color=#0000ff size=2>Would move your javascript into the approprate place next.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=580421414-16082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=580421414-16082007><FONT face=Arial
color=#0000ff size=2>In your theme, make sure that you have a template.php file
which contains the following, then remove the script tag from your theme.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=580421414-16082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=580421414-16082007><FONT face=Arial
color=#0000ff size=2>function _phptemplate_variables($hook, $vars)
{</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=580421414-16082007><FONT face=Arial
color=#0000ff
size=2>drupal_add_js(path_to_theme().'/global.js','theme');<BR>}</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=580421414-16082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=580421414-16082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> support-bounces@drupal.org
[mailto:support-bounces@drupal.org] <B>On Behalf Of
</B>sander-martijn<BR><B>Sent:</B> Wednesday, August 15, 2007 5:33
PM<BR><B>To:</B> support@drupal.org<BR><B>Subject:</B> Re: [support] tinyMCE
issue<BR></FONT><BR></DIV>
<DIV></DIV>ok - just tested it - it's not the *{} css block. it must be
something else in the theme, something i'm missing
perhaps.<BR><BR>sander-martijn wrote:
<BLOCKQUOTE cite=mid46C3972D.4010903@sander-martijn.com type="cite">New info:
when i change my site to one of the default themes it works, so it's something
in my theme. I'm a first time drupal theme developer so i suppose that's
not terribly surprising. <BR><BR>Relevant notes about my theme:<BR>I am
including the following in my theme:<BR><?php print $styles
?><BR><?php print $scripts ?><BR><script type="text/javascript"
src="<?php print base_path() . path_to_theme()
?>/global.js"></script><BR><BR>so that should be including
any required drupal css and js<BR>(p.s. - i'm sure there's a way to get my
custom javascript into the scripts variable but i couldn't figure it out from
the documentation and the themes that i downloaded that used javascript were
all doing it this way. i'd love to do it the proper way
though)<BR><BR>my javascript isn't doing anything that should break these
editors. There's no styling in the css for textareas. However
there is this global css declaration - I've gotten into the habit of always
setting this and then overriding when necessary because I've found it makes my
life easier. It's the only thing i can think of that might cause it,
other than a block of php code i need to include that i'm not:<BR>*{<BR>
margin:0px;<BR> padding:0px;<BR> font-family: arial, helvetica,
sans-serif;<BR> font-size: 12px;<BR> line-height:19px;<BR>
color:#46403a;<BR>}<BR><BR>specifically the margin and/or padding being set to
0 on textareas... I wouldn't think that would mess it up, but it's all i've
come up with so far<BR><BR>.s<BR><BR>Metzler, David wrote:
<BLOCKQUOTE cite=mid25C3492D5925964585F542C770231C120262BCEE@oak.evergreen.edu
type="cite">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=316223723-15082007><FONT face=Arial
color=#0000ff size=2>I haven't done this with 5.2 but I'd been planning on
upgrading. I will do this and get back to you. I'm a long time
user of TinyMCE, so I ought to be able to figure this out quickly.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=316223723-15082007></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=316223723-15082007><FONT face=Arial
color=#0000ff size=2>Dave</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=316223723-15082007></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> <A class=moz-txt-link-abbreviated
href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</A> [<A
class=moz-txt-link-freetext
href="mailto:support-bounces@drupal.org">mailto:support-bounces@drupal.org</A>]
<B>On Behalf Of </B>sander-martijn<BR><B>Sent:</B> Wednesday, August 15,
2007 4:31 PM<BR><B>To:</B> <A class=moz-txt-link-abbreviated
href="mailto:support@drupal.org">support@drupal.org</A><BR><B>Subject:</B>
Re: [support] tinyMCE issue<BR></FONT><BR></DIV>Ok, having a simalar but not
quite the same issue with fckeditor. with fckeditor i can edit the
admin options. I realized with both that i have to enable them in
roles so i did that. I also tried uploading them into /modules instead
of sits/all/modules/ but no change, still getting plain text in edit
fields. Any suggestions? Drupal will be pretty much useless for
me if I can't get wysiwyg working (even though i hate it myself, the client
can't handle it otherwise).<BR><BR>sander-martijn wrote:
<BLOCKQUOTE cite=mid46C37D2D.40509@sander-martijn.com type="cite"><PRE wrap="">and now for my own support question. As my client is not html savvy,
one of my early requirements is to get a wysiwyg editor working. I
chose tinyMCE as the first trial because I'm thinking IMCE will be a
good add-on (although on second look it now also supports FCK so if I
can't get an answer here i may just try that). I downloaded the tinyMCE
module official release 5.x-1.9, downloaded tinyMCE version 2.1.1.1 and
put it in the directory as specified and uploaded it. I enabled the
module in admin but it didn't show up. Figured I had to configure it so
went to the tinyMCE configuration page but that page is blank. I'm on
drupal 5.2 and I noticed the note (or copy the TinyMCE files into the
module's includes folder for the 5.2 users) but there is no includes
folder in the version i downloaded.
Does anyone know whether I should create the includes folder or have to
download the dev version (always should be a last option in a production
site of course), if i need a different version of tinyMCE or some other
issue I might be having?
.s
</PRE></BLOCKQUOTE><BR>
<DIV class=moz-signature>-- <BR>
<HR align=center width="100%" noShade SIZE=1>
<P
style="FONT-WEIGHT: normal; FONT-SIZE: 10px; TEXT-TRANSFORM: lowercase; COLOR: rgb(51,51,51); FONT-STYLE: normal; FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-ALIGN: center"><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="mailto:sander@sander-martijn.com">sander-martijn</A><BR>interface
developer | architect<BR><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="mailto:sander@sander-martijn.com">sander@sander-martijn.com</A><BR><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="http://www.sander-martijn.com">www.sander-martijn.com</A> </P>
<HR align=center width="100%" noShade SIZE=1>
</DIV></BLOCKQUOTE><BR>
<DIV class=moz-signature>-- <BR>
<HR align=center width="100%" noShade SIZE=1>
<P
style="FONT-WEIGHT: normal; FONT-SIZE: 10px; TEXT-TRANSFORM: lowercase; COLOR: rgb(51,51,51); FONT-STYLE: normal; FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-ALIGN: center"><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="mailto:sander@sander-martijn.com">sander-martijn</A><BR>interface
developer | architect<BR><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="mailto:sander@sander-martijn.com">sander@sander-martijn.com</A><BR><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="http://www.sander-martijn.com">www.sander-martijn.com</A> </P>
<HR align=center width="100%" noShade SIZE=1>
</DIV></BLOCKQUOTE><BR>
<DIV class=moz-signature>-- <BR>
<HR align=center width="100%" noShade SIZE=1>
<P
style="FONT-WEIGHT: normal; FONT-SIZE: 10px; TEXT-TRANSFORM: lowercase; COLOR: rgb(51,51,51); FONT-STYLE: normal; FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-ALIGN: center"><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="mailto:sander@sander-martijn.com">sander-martijn</A><BR>interface
developer | architect<BR><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="mailto:sander@sander-martijn.com">sander@sander-martijn.com</A><BR><A
style="COLOR: rgb(0,0,255); FONT-FAMILY: verdana,arial,helvetica,sans-serif; TEXT-DECORATION: none"
href="http://www.sander-martijn.com">www.sander-martijn.com</A> </P>
<HR align=center width="100%" noShade SIZE=1>
</DIV></BODY></HTML>