Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 3, 2005 00:25:31

o.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Problem with TinyMCE integration


Hello,

svn update done on 11/29

ADMIN_MEDIA_PREFIX = '/media/'

tiny_mce directory copied in
C:\soft\django_src\django\contrib\admin\media\js

MODEL:
from django.core import meta
from django.models.contacts import contacts

class Place(meta.Model):
name = meta.CharField(maxlength=200)
city = meta.CharField(maxlength=200)
street = meta.CharField(maxlength=200)
postal_code = meta.CharField(maxlength=200)
phone = meta.CharField(maxlength=200)
def __repr__(self):
return self.name
class META:
admin = meta.Admin()

class Event(meta.Model):
title = meta.CharField(maxlength=200)
the_place = meta.ForeignKey(Place)
contacts = meta.ManyToManyField(contacts.Contact)
start_date = meta.DateField()
description = meta.TextField()
def __repr__(self):
return self.title
class META:
admin = meta.Admin(
js = (
'/media/js/tiny_mce/tiny_mce.js',
'/media/js/tiny_mce/textareas.js',
),
)http://127.0.0.1:8000/media/js/tiny_mce/tiny_mce.jsLooks good in the browser.

and TinyMCE is not set for description area in admin.

Could you please tell me why ?

Olivier.

Offline

#2 Dec. 3, 2005 12:28:27

o.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Problem with TinyMCE integration


Thanks a lot

Offline

#3 Dec. 6, 2005 06:57:08

l.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Problem with TinyMCE integration


olive wrote:
> Thanks a lot

did you solve the problem? i changed the path, and though the path is
now showing correctly when viewing the page source, tiny_mce is not
showing in the textarea

regards
kg

Offline

Board footer

Moderator control

Enjoy the 23rd of April
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support