JavaScript

2 posts tagged with JavaScript [Feeds]

It is true that the best idea comes when you’re not aware of it (or anything related to it) and that’s what happened with LiveTweeting.com. Here’s the whole story: Samer Karam, a web consultant from Lebanon was looking for a way to implement the best twitter coverage for Le Web 09, he came up with the concept of live tweeting with croudsourced translations. At that time, my brother (who’s a friend of Samer) suggested me to develop it. Samer also contacted the awesome Maya Zankoul who did the design and illustrations.

So, Live Tweeting is an interactive real-time web app for multi-language live ...

TinyMCE in django admin

Date/Time: Feb. 17, 2009 at 21:56 PM



In this post, I'm going to talk about using TinyMCE (Javascript HTML editor) with django's admin application.

In django administration application, TextFields are represented as <textarea></textarea> tags, so it can be pretty annoying to add content when using these fields to represent HTML content (like in blog posts). The solution comes with Javascript by using one of the many HTML editors, like TinyMCE.

The few steps I'm going to show you in this post are perfect for these situations, but sometimes, you might really need a regular <textarea> for a model and TinyMCE for another. These cases won't be discussed in this post (saving for another post ^^).

Now let's get to work,

Of course, you'll need TinyMCE, which you can get from Share on StumbleUpon Share on Reddit Add to del.icio.us