Just a quick update - have managed to get Ajax comments up and running in ‘fauna’, the current theme.
It should now use Ajax by default, yet degrade back to the standard submission form in any non IE powered browser. Oh while I remember, livesearch is also active. So much for avoiding masses of java and bloat, eh? :)
≡ This is a journal entry relating to the topics of code, noteworthy, wordpress.
Brendan Borlase is a Systems and Network Administrator living in Adelaide, Australia, having lived, worked and breathed Information Technology for over 12 years. Learn more.
Feedback is encouraged. If you would like to read more, consider subscribing to the regularly updated RSS Feed.


Dec 14th, 2005 at 11:51 am
does it update the page now?
Dec 14th, 2005 at 5:32 pm
Appears to - right now there is a textual indication of that just above the ‘leave a comment’ heading.
Dec 15th, 2005 at 7:14 am
Heh - I just realised anyone subscribed to comments is being spammed while I test this - sorry. :)
Dec 15th, 2005 at 7:24 am
I simply have to test this out!
Here’s hoping you enjoy the theme, by the way :)
Dec 15th, 2005 at 8:11 am
Joen,
Feel free to have a play.. :)
The theme rocks, well and truly. I’ve found it particularly well documented (which makes adding Ajax, live search, etc a more pleasant experience) - it’s pretty minimalistic (in feel) which I’m always drawn to.
I’m really looking forward to seeing where I can push your creation, as I have a bunch of idea’s I want to try out and ‘fauna’ seems to be the closest in concept to what I desire.
Very cool.
Dec 15th, 2005 at 9:45 am
Okay - hopefully there should now be an animation during the Ajax processing. Or not. Only one way to find out. :)
Dec 15th, 2005 at 9:46 am
lets try this sucker then…
Dec 15th, 2005 at 9:47 am
wahay. Seems you havent managed to increase the comment number yet though. I had that too, so I just dropped it. The spinning animation is under the text btw.
Dec 15th, 2005 at 10:01 am
Hrm, it should be all good now - top right aligned (behind a width setting to stop it ending up too far to the right).
Now, as for the number incrementing - not a clue.. It’s likely due to Ajax not actually re-loading all the comments, so until the page is regenerated it stays at 1. As to how to fix that? Might have to look at someone else’s implementation to see if I can work out the ‘trick’ to increment the div’s ol count correctly.
Dec 15th, 2005 at 10:31 am
Okay - last touch up for now (pending that darned comment count increment dilema). Have center aligned the ‘processing’ div so it should look more agreeable.
Dec 16th, 2005 at 3:44 am
It’s working fine for me, animation and everything.
I’m glad you find it easy to customize the theme, I’ve gone to great lengths to simplify especially the comments files to keep things simple.
Dec 16th, 2005 at 4:49 am
Joen,
Indeed, it’s a very well put together. :)
Cool. I was pretty sure I had it sorted. The only hitch, as matthew has pointed out, is the comment counter not incrementing correctly.
I’m in two minds how to proceed on the layout of posts.. One layout would have the last ‘full’ post at the top, with asides, then recent entries below..
The other (which might be more chronological/ logical) would be to have x number of asides, then the full post (with an anchor at the top to ’skip to latest entry’) followed by recent entries (which would be a mixture of asides and full entries).
Right now option B makes more sense - however option B will be a bit more of a challenge. I’ll have to apply a filter to the loop to pull the last x asides, then drop down into (or rewind the loop) the most recent full post, then possibly rewind the loop again to drop into the recent entries. Fun fun fun. :)
Dec 16th, 2005 at 4:58 am
yup, looking good
Dec 16th, 2005 at 5:43 am
Thanks matthew. :)
Dec 16th, 2005 at 7:04 am
its abit unfortunate that the only way to see the ajax stuff is to post a comment, but anyway, i just thought Id mention that I really like the speech bubble activity thing.
Dec 16th, 2005 at 7:10 am
Heh - It’s the technorati bubble, used as a filler until I can find another good ‘throbber’ style animation. Ideally I’m after something like the circular ‘please wait’ style throbber often used in flash (I think it’s like the default ‘loader’ anim or some shit). I just liked the bubble to be honest..
Dec 16th, 2005 at 10:32 am
Just re-activated the “Adhesive” plug-in - new it would come in handy. Rather than try and create masses of code to filter the last “full” post I’ll just set each full post I want as the “primary” post, to sticky.
That gives more granularity as some full posts may not warrant being the first post.
Joen, you have a top notch theme in “fauna” - it rocks. :)
Dec 16th, 2005 at 2:32 pm
Let’s have a try…
Dec 16th, 2005 at 9:38 pm
bq. Joen, you have a top notch theme in ?fauna? - it rocks. :)
Thanks a lot, I appreciate that.
Your customization is looking better and better, btw.
Dec 19th, 2005 at 6:26 am
It’s getting there. Have a long way to go yet, but things are certainly progressing well. :)