Diary of a CodeIgniter Site Day, uh, 11?

I don't know what day it is anymore. Another day spending way too much time working on this site. Too bad I don't get paid by the hour for this, I'd do really well. Everything takes longer than planned, but some things go ok...

I found a simple vertical scroller for my article list on the first page, at least that went well. Simple, just add id to your ul, and away you go. I'm using the HoverScroll jQuery Plugin.

I wanted to do a jquery pagination thing in the Articles links, that was another one that looked straightforward at first, until I realized that the demo code only showed 1 item at a time - oh my gawd, I have to think jquery now! Figured out how to loop through divs in jquery using new stuff to me like eq(). Damn I'm clever - or not, given that it took me 2 hours of staring at 2 lines of javascript to finally realize what was wrong. Once I got it though, it suits my purpose nicely. I'm using the Jquery Pagination Plugin.

Eureka

I also enjoyed a 'eureka' moment when I realized how easy it is to incorporate my own class files in CodeIgniter. Actually. it's not mine, but I wanted a keyword generator so I found a simple one on phpclasses.org. Just rename the class file to CodeIgniter conventions, $this->load->library('autokeywords'), and away we go, just do $this->autokeywords->get_keywords() etc to access class methods. Keywords are passed to the view. You can see them if you view source on an article.

//TODO

  • Gotta figure out how people do code views, for my comments area. After seeing how easy it was to inject javascript, I have my comments set to pre tags right now, ugly
  • Time to maybe move on to a user registration system, if only so that I (as Admin) have privileges that? You (as a mere mortal user) don't have

I am quite impressed with TimyMCE and how I have it working with jquery, I'm going over my ld posts and spell checking now. Woohoo!

Gonna watch mindless TV now.

Your Comment
(Not displayed)
 Prove You're Human


I think I got it now, comment is emailed to admin, blockui working...maybe

Let's throw blockUI into the mix...

Testing the notifier again and agian

Testing the notifier again and agian