Choose Your Theme
Warren Shea

Site Updates – Sections

Sunday, January 6th, 2013 at 11:54 pm

Whoa. When was the last time worldofwarren.com had updates!?

I’ve been meaning to create a TO DO list section for a while. I had to make it in a way that would be easy to edit – that is, NOT a code page (cuz opening up code via a code editor is a pain), and NOT a wordpress page as finding that wordpress page to edit is a pain. Also, editing a wordpress page is a pain.

Also, my co-worker, Grant, said that he doesn’t consider watching a movie as an achievement. But I do (my threshold of achievements is lower :S).

So I made an Achievements section. A place to track things in my life in progress, things to start (TO DO List) and easily track things I’ve done (Achievements).

I built a simple admin section on Friday: Achievements Admin. And no, you cannot edit anything in this section.
Originally, I created a textbox where I had to fill in a password – that was the only way you could edit something. But I changed it around so that the password input is hidden and the value is derived from the URL (so the URL linked above is not the URL *I* use).

The cool thing is that while the INSERT and DELETE only activate when you click their buttons (as the page needs to refresh to add/remove the item), the UPDATES to any existing item are updated via AJAX POSTS. So there’s no “Submit” when you make an edit, you edit the textbox and it will change the database. Assuming again, that the password works. Beautiful :)
(and yes, I could have made the INSERT and DELETE AJAX POSTS as well but I don’t think it was worth the effort).


Links sections removed.
I moved Friend’s links to the right side of the homepage.


Projects sections removed.
I combined it with my Hobbies section.


Figure Review sections added.
I’m not sure how much use I’ll get out of this but I wanted to do figure reviews for my non-Kotobukiya Bishoujo figures.

Leave a Reply