Diary of a CodeIgniter Site Day 9,10

I've been slowly plodding away at this, my focus has been the backend with the limited time i've had during the week. While I got tinymce running in about 2 minutes, and is great for new articles, a bigger challenge was ahead when i wanted to use it to edit articles. Like most things, I thought it would be easy:

  • add a pulldown with a list of all articles
  • onChange, load the article, headline, article id into the form
  • edit and submit it to an update function

Turns out TinyMCE doesn't use the form textarea, but rather replaces it with an iframe, which took some googling to figure out how to address it. Heaven forbid that i read the tinyMCE documentation, no, not me...

I think I got, right now I'm creating a new article to make sure i didn't break anything, and in a minute, hopefully, I will be able to edit the articel. I'll let you know...

Update Mar 20 2010...

If you want to use TimyMCE with jquery, do yourself a big favor and use the jquery version of TinyMCE.

If finally got this thing jquery-ing nicely, I'm crudding with tinymce and jquery! Yipee!

Your Comment
(Not displayed)
 Prove You're Human


Just teating something agin and again and again

Just teating something

When I try to send an email with codeigniters smtp I get: unable to connect to smtp.1and1.com:587 (Connection refused) So I'm using mail instead.