wordpress / thematic framework filters and actions

I’m building a new content-managed website for Congregation Beth Shalom, a local synagogue, using WordPress and the Thematic Framework.

While researching slick, thematic ways to only do a filter on non-home pages, I came across this suggestion to add actions to the init action tag.  It makes a lot more sense to use the wp action tag, though, so various wordpress template variables are made available, e.g.

function remove_ulcl() {
 remove_filter('wp_page_menu','thematic_add_menuclass');
}

function add_ulcl() {
 if(!is_home()||!is_front_page()) {
 add_filter('wp_page_menu','thematic_add_menuclass');
 }
}

add_action('wp', 'remove_ulcl');
add_action('wp', 'add_ulcl');

Isn’t that nice? I’m digging Thematic. It’s so wordpress-y.

Fun with a rooted G1

After months of having a totally stock tmobile G1, I’ve finally bitten the bullet, rooted my phone, and installed a pre-packaged new and improved firmware and OS, CyanogenMod.  What fun!  It’s actually noticably faster, as it runs the processor a little more (which hurts battery life a bit), and it also has some great nerd toys built right in.

To tether via USB, which is a feature added by CyanogenMod version 2.5.3 and up, it seems that one must use a recent Linux kernel (it didn’t work with 2.6.26, but does work with 2.6.31- i’ll track down the changeset that enabled this).  I’ve yet to get it set up correctly, as I’ve been testing on a comparitively ancient IBM Thinkpad T30, and I’m worried that there’s something funky with it.  Soon I’ll get it working and write a how-to guide.

Links:

CyanogenMod | Android Community Rom based on Donut tree.

CyanogenMod | Changelog | CyanogenMod

Tethering – CyanogenMod Wiki

Get G1 Root Access Back with Leaked RC29 Firmware | Android Central

How-to- Root, Hack, and Flashing your G1/Dream Read first!! – xda-developers

Tutorial: Turn back the clock – Downgrade your T-Mobile G1 to Android OS RC29

FlashRec | ZenThought.org

Android Rooting in 1-click (limited time only… until it gets patched)

How to root a T-Mobile G1 and myTouch 3G Android phone – Android and Me

Full Update Guide – G1/Dream Firmware to CyanogenMod – CyanogenMod Wiki

All sorts of hack-job IT work goin on

So I’m Hubbin it up right now.. setting up an office server that will do filesharing at first, and then be an OpenBravo ERP/POS system server down the road.  For those not in the know, OpenBravo is an awesome product for small businesses that need solid point-of-sale software.  It’s done very well with The Hub, and we’ll eventually have two POSes networked via this new server – one for the retail counter and another for doing inventory and possibly to handle sales as well.  I also set up a new wireless router running DD-WRT which will improve network reliability.

Just heard that 510pen will be attending to the Allied Media Conference this year, and they want to help set up a mesh network in Detroit!  They seem to have a nice system figured out.  It’s based on the ROBIN router firmware and this nifty little router that can even run with power-over-ethernet… so much fun!