2
Aug

August 3, 2008

August 3, 2008

Rating: 
No votes yet

Pages

Subscribe to The Angry Bunny RSS
Ad Space

The Angry Bunny Site News

27
Apr

Invasion of the Bunny Snatchers Poster

Invasion of the Bunny Snatchers

My latest design over in my Zazzle store is my "Invasion of the Bunny Snatchers" poster design. This parody poster is based on The Angry Bunny comic characters.

3
Mar

A Year of Anger 2014

A Year of Anger 2014

I just finished creating my The Angry Bunny A Year of Anger 2014 Calendar over in my Zazzle store... As usual it's based on a dozen different Angry Bunny Designs.

17
Dec

First Time Ever

Updated Daily

Since I started this comic back in 2007 this is the first year I have posted a new comic every single day. You may be thinking to yourself "Hey, the year is not over yet." That is a moot point since the comics all the way up to January 1st, 2013 have been created already, and scheduled to post on the correct days. I do try to post a new comic every day, but this is the first time I have actually accomplished it for the entire year.

24
Nov

The Angry Bunny Dart Board

The Angry Bunny Dart Board

My latest design over in The Angry Bunny Zazzle store front is my "The Angry Bunny Dart Board" you can see above. I'm not sure how long Zazzle will be offering dart boards, so if you want a custom AB dart board I would move fast.

23
Oct

Webcomics List Counter

AB Avatar

I noticed recently my comic listing was no longer being checked for updates on The Webcomic List website.. When I inquired as to why, Norah was able to help me with this letting me know its because I needed to have <!-- Last Update dd/mm/yyyy --> in the HTML code for the page listing the last date the comic was updated. Simple enough except that I use Drupal, the only HTML code on the site is generated via PHP scripts.

After a few days of testing, a little research on PHP script sites, and more help from Norah; I was able to piece together the right PHP code which updates the date code automatically every time I post a new comic, and the right placement of the code to get my site to work with the TWCL system.

So if you are running a webcomic on Drupal 7 you can insert this code into your theme's "html.tpl.php" document just after the <body> tag but before the </body> tag and it will update the date stamp in the generated HTML on it's own every time a new comic node is created:

<?php
// get date of most most recent change to a node
$result = db_query('SELECT title, changed FROM {node} WHERE status=1 ORDER BY changed DESC LIMIT 1');
$node = $result->fetchObject();
$date = date('d/m/Y', $node->changed);
echo "<!-- Last Update: $date -->" ;
?>