I use 4 text area on the same page there
http://www.cefinban.net
You can get the source here
http://www.coulix.net/projects/cefinban/
Ramdas S wrote:
> Hi,
>
> I tried to hack it via the admin base.html by including
> the following code in the <head> of the admin/base.html.
>
> *<script language="javascript" type="text/javascript"
> src="../jscripts/tiny_mce/tiny_mce.js"></script>
>
> <script language="javascript" type="text/javascript">
> tinyMCE.init({
>       mode : "textareas"
> });*
>
>
> It does not work. However it works when I try it on a simple HTMl file. Any
> tips on how to hack it through admin interface.
>
> Ramdas
> On 10/8/06, Ramdas S <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >
> > I am able to see the file when I try http://localhost:8000/media/js
> > >
> > > /textareas.js
> >
> >
> >
> > However the Ajax effect is missing! Its all the same inside interface! I
> > use the latest Mozilla FireFox and Ubuntu 6.2 Dapper. TinyMCE version is
> > 2.0.6.1 .
> >
> > Do you suggest the same if I am trying it with another editor say Dojo
> >
> > Ramdas
> >
> > On 10/8/06, MerMer < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > > I'm using a default local installation on a Windows XP machine, running
> > > Firefox 1.5
> > >
> > > When I try the following URL
> > > http://localhost:8000/media/js/textareas.js  I get a message saying
> > > that the file cannot be found on the following (notice the slashes)
> > >
> > >
> > > C:\Python24\lib\site-packages\django_src\django/contrib/admin/media\js/testarea.js
> > >
> > > However, when I go to localhost:8000/admin and then look in the source
> > > of the generated web pages it seems clear to that the files are in
> > > correct directory.
> > >
> > > It's probably something stupid,  I am doing here ?. I'm very new to
> > > Django and still trying to find my way around.
> > >
> > > MerMer
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > > Ok you've surely checked, but i have to ask anyway. :)
> > > > Are the files really readable, e.g. does
> > > > http://www.yoursite.com/media/js/textareas.js show up in your browser?
> > > >
> > > > Oh and which browser do you use? Konqueror (and probably Safari too)
> > > don't
> > > > work with tinyMCE.
> > > >
> > >
> > >
> > > > >
> > >
> >
>
> ------=_Part_47312_28816634.1160299142091
> Content-Type: text/html; charset=ISO-8859-1
> X-Google-AttachSize: 3487
>
> <br>Hi,<br><br>I tried to hack it via the admin base.html by including 
> <br>the following code in the &lt;head&gt; of the 
> admin/base.html.<br><br><pre><strong><strong>&lt;script 
> language=&quot;javascript&quot; type=&quot;text/javascript&quot; 
> src=&quot;../jscripts/tiny_mce/tiny_mce.js&quot;&gt;&lt;/script&gt;
> <br><br>&lt;script language=&quot;javascript&quot; 
> type=&quot;text/javascript&quot;&gt;<br>tinyMCE.init({<br> mode : 
> &quot;textareas&quot;<br>});</strong></strong></pre><br>It does not work. 
> However it works when I try it on a simple HTMl file. Any tips on how to hack 
> it through admin interface.
> <br><span class="sg"><br>Ramdas</span><br><div><span class="gmail_quote">On 
> 10/8/06, <b class="gmail_sendername">Ramdas S</b> &lt;<a href="mailto:[EMAIL 
> PROTECTED]">[EMAIL PROTECTED]</a>&gt; wrote:</span><blockquote 
> class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 
> 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Hi,<br><br><br>I am able to see the file when I try <a 
> href="http://localhost:8000/media/js"; target="_blank" onclick="return 
> top.js.OpenExtLink(window,event,this)">http://localhost:8000/media/js</a><blockquote
>  class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); 
> margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>
>
> /textareas.js </blockquote><span class="q"><br><br>However
> the Ajax effect is missing! Its all the same inside interface! I use
> the latest Mozilla FireFox and Ubuntu 6.2 Dapper. TinyMCE version is <a 
> href="http://2.0.6.1/"; target="_blank" onclick="return 
> top.js.OpenExtLink(window,event,this)">2.0.6.1</a>
> .<br><br>Do you suggest the same if I am trying it with another editor say 
> Dojo<br><br>Ramdas<br><br></span><div><span class="q"><span 
> class="gmail_quote">On 10/8/06, <b class="gmail_sendername">MerMer</b> &lt;<a 
> href="mailto:[EMAIL PROTECTED]" target="_blank" onclick="return 
> top.js.OpenExtLink(window,event,this)">
>
> [EMAIL PROTECTED]</a>&gt; wrote:</span></span><div><span class="e" 
> id="q_10e24d52363eb6bd_4"><blockquote class="gmail_quote" style="border-left: 
> 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> <br>I'm using a default local installation on a Windows XP machine, running
> <br>Firefox 1.5<br><br>When I try the following URL<br><a 
> href="http://localhost:8000/media/js/textareas.js"; target="_blank" 
> onclick="return 
> top.js.OpenExtLink(window,event,this)">http://localhost:8000/media/js/textareas.js
> </a>&nbsp;&nbsp;I get a message saying<br>that the file cannot be found on 
> the following (notice the slashes)
> <br><br>C:\Python24\lib\site-packages\django_src\django/contrib/admin/media\js/testarea.js<br><br>However,
>  when I go to localhost:8000/admin and then look in the source<br>of the 
> generated web pages it seems clear to that the files are in
> <br>correct directory.<br><br>It's probably something stupid,&nbsp;&nbsp;I am 
> doing here ?. I'm very new to<br>Django and still trying to find my way 
> around.<br><br>MerMer<br><br><br><br><br><br><br><br>&gt; Ok you've surely 
> checked, but i have to ask anyway. :)
> <br>&gt; Are the files really readable, e.g. does<br>&gt; <a 
> href="http://www.yoursite.com/media/js/textareas.js"; target="_blank" 
> onclick="return 
> top.js.OpenExtLink(window,event,this)">http://www.yoursite.com/media/js/textareas.js
> </a> show up in your browser?<br>&gt;<br>&gt; Oh and which browser do you 
> use? Konqueror (and probably Safari too) don't
> <br>&gt; work with tinyMCE.<br>&gt;<br><br><br></span></div></div><br>
>
> </blockquote></div><br>
> 
> ------=_Part_47312_28816634.1160299142091--


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to