Re: How to show up tiny mce in admin textfield

2008-09-03 Thread lingrlongr
woops try this: js = ( 'tiny_mce/tiny_mce.js', 'textareas.js', ) I believe this automatically references the MEDIA_URL, so you don't have to. On Sep 3, 11:23 am, bin <[EMAIL PROTECTED]> wrote: > I tried, but nothing happened at all. > > On 9月3日,

Re: How to show up tiny mce in admin textfield

2008-09-03 Thread lingrlongr
# settings.py MEDIA_ROOT = '/absolute/path/to/media/directory/' MEDIA_URL = '/app_media/' # urls.py (at the end) import settings if settings.DEBUG: urlpatterns += patterns('', (r'^app_media/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), ) Given th

Re: How to show up tiny mce in admin textfield

2008-09-03 Thread bin
didn't work what should i fill in my MEDIA_URL in settings.py? is it like this: MEDIA_URL = './appmedia/' On 9月3日, 下午11时32分, lingrlongr <[EMAIL PROTECTED]> wrote: > woops try this: > > js = ( > 'tiny_mce/tiny_mce.js', > 'textareas.js', > ) > > I b

Re: How to show up tiny mce in admin textfield

2008-09-03 Thread bin
I tried, but nothing happened at all. On 9月3日, 下午10时59分, lingrlongr <[EMAIL PROTECTED]> wrote: > You are including the tiny_mce library after you reference it. Try > switching the order to: > > js = ( > '/app_media/tiny_mce/tiny_mce.js', > '/app_media/textareas.j

Re: How to show up tiny mce in admin textfield

2008-09-03 Thread lingrlongr
You are including the tiny_mce library after you reference it. Try switching the order to: js = ( '/app_media/tiny_mce/tiny_mce.js', '/app_media/textareas.js', ) On Sep 3, 10:50 am, bin <[EMAIL PROTECTED]> wrote: > Hi all > > i wanna embed a richtext

How to show up tiny mce in admin textfield

2008-09-03 Thread bin
Hi all i wanna embed a richtext field in my admin textfield. today, i try to use tiny mce. but no matter whatever i did, it didnt show up. i created a directory in my project folder, named appmedia, and copied the tiny mce files and textareas.js into it. this is my urls.py (r'^app_media/(?P