<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
well i completely removed my css and my javascript and it still doesn't
work so it's not anything i'm adding. Likely it's something i'm
missing and after looking at the other templates closer I'm realizing
there are other things. The main one I'm not seeing any tabs (which is
why I couldn't find a lot of things such as revisions and also could
explain why i couldn't see the tinyMCE config page). <br>
<br>
Metzler, David wrote:
<blockquote
cite="mid25C3492D5925964585F542C770231C120262BCF7@oak.evergreen.edu"
type="cite">
<title></title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2180" name="GENERATOR">
<div dir="ltr" align="left"><span class="016583015-16082007"><font
color="#0000ff" face="Arial" size="2">I'd seriously consider just
commenting out your javascript next to prove its not something related
to it. It seems odd for a css problem for the editor to dissapear. </font></span></div>
<div dir="ltr" align="left"><span class="016583015-16082007"></span> </div>
<div dir="ltr" align="left"><span class="016583015-16082007"><font
color="#0000ff" face="Arial" size="2">FYI: if you know (or suspect
you know the function name) the api docs are a good place to look: <a
href="http://api.drupal.org">http://api.drupal.org</a> Most of the
functions have good example code referenced. )</font></span></div>
<div dir="ltr" align="left"><span class="016583015-16082007"></span> </div>
<div dir="ltr" align="left"><span class="016583015-16082007"><font
color="#0000ff" face="Arial" size="2">Good luck....</font></span></div>
<div dir="ltr" align="left"><span class="016583015-16082007"><font
color="#0000ff" face="Arial" size="2"><br>
Dave</font></span></div>
<br>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
<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> Thursday, August 16, 2007 8:29 AM<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>
Well it didn't solve the problem. I'm pretty sure it's something css
so i'm going to start hacking through that.<br>
<br>
It did however get my script loading the way it should, and that makes
me happy. I wish it was documented in a findable place (in otherwords
i'm not saying it's not there, but i searched for $scripts, scripts,
drupal_add_js which I suspected was needed all along etc and couldn't
find it anywhere)<br>
<br>
Thanks for your help. I'll report back whether it was a css thing or
if i need more help.<br>
<br>
Metzler, David wrote:
<blockquote
cite="mid25C3492D5925964585F542C770231C120262BCF1@oak.evergreen.edu"
type="cite">
<meta content="MSHTML 6.00.2900.2180" name="GENERATOR">
<div dir="ltr" align="left"><span class="580421414-16082007"><font
color="#0000ff" face="Arial" size="2">Would move your javascript into
the approprate place next. </font></span></div>
<div dir="ltr" align="left"><span class="580421414-16082007"></span> </div>
<div dir="ltr" align="left"><span class="580421414-16082007"><font
color="#0000ff" face="Arial" 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"></span> </div>
<div dir="ltr" align="left"><span class="580421414-16082007"><font
color="#0000ff" face="Arial" size="2">function
_phptemplate_variables($hook, $vars) {</font></span></div>
<div dir="ltr" align="left"><span class="580421414-16082007"><font
color="#0000ff" face="Arial" size="2">drupal_add_js(path_to_theme().'/global.js','theme');<br>
}</font></span></div>
<div dir="ltr" align="left"><span class="580421414-16082007"></span> </div>
<div dir="ltr" align="left"><span class="580421414-16082007"></span> </div>
<br>
<div class="OutlookMessageHeader" dir="ltr" align="left"
lang="en-us">
<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 5:33 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 - 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
color="#0000ff" face="Arial" 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
color="#0000ff" face="Arial" size="2">Dave</font></span></div>
<div dir="ltr" align="left"><span class="316223723-15082007"></span> </div>
<br>
<div class="OutlookMessageHeader" dir="ltr" align="left"
lang="en-us">
<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" noshade="noshade" size="1" width="100%">
<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" noshade="noshade" size="1" width="100%"> </div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<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" noshade="noshade" size="1" width="100%"> </div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<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" noshade="noshade" size="1" width="100%"> </div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<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" noshade="noshade" size="1" width="100%">
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
style="text-align: center; font-family: verdana,arial,helvetica,sans-serif; color: rgb(51, 51, 51); font-size: 10px; text-transform: lowercase; font-style: normal; font-weight: normal;"><a
href="mailto:sander@sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander-martijn</a><br>
interface developer | architect<br>
<a href="mailto:sander@sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander@sander-martijn.com</a><br>
<a href="http://www.sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">www.sander-martijn.com</a>
</p>
<hr align="center" noshade="noshade" size="1" width="100%"></div>
</body>
</html>