Use your widget sidebars in the admin Design tab to change this little blurb here. Add the text widget to the Blurb Sidebar!

Pods Fail

Posted: November 30th, 2008 | Author: David Herman | Filed under: code | Tags: , , , | 5 Comments »

Always on the lookout for new tools I thought I’d try and install pods.  Pods claims to be a simple cms tool that allows you to create relatable objects. You can create master > detail pages, calendars, photo albums. Seems to be the simple “relational db” plugin I’ve been looking for.

The install instructions are:

  1. Copy the pods .htaccess file and overwrite yours
  2. Change the permalink to /%postname%/
  3. Activate plugin

I followed those instructions and got the following warnings

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /purpleasphalt/wp-content/plugins/pods/init.php on line 33

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /purpleasphalt/wp-content/plugins/pods/sql/update.php on line 4

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /purpleasphalt/wp-content/plugins/pods/sql/update.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at /purpleasphalt/wp-content/plugins/pods/init.php:33) in /purpleasphalt/wp-includes/classes.php on line 1569

On I trudged ignoring the errors. I was able to create a new pod, or at least it showed up on the screen, but when I refreshed, it was gone.

I started poking around the comments section of the site and found that the warnings would be cleared up in the next release. I also noted that issues can be cleared up by removing the associated pods tables, and that they would be re-created. However it looks like from my warnings that pods could not determine if it had already installed itself. My suspicions were correct when I checked mysql and found that there were no pods tables found.

I’ll post more when 1.2.1 hits and the warnings go away.


Hey mac, give me my keyboard back!

Posted: November 28th, 2008 | Author: David Herman | Filed under: mac | Tags: , , | 2 Comments »

I’m a recent mac convert and everything is as they say, Hunky Dory.  In windows I was rather proud in not having to take my fingers off the keyboad for most computing endeavors.  However, on sparkly new macbook things are were not so easy.

Web Forms:
The default behavior it seems is to tab between text and list boxes only.  That checkbox that says “Remember Me”, good luck selecting that with your keyboard.

Dialog Boxes:
I’m also used to using the arrow keys to hit Cancel or Ok, which ever is not the default option.

To fix this problem change the settings from “Text boxes and Lists only” to “All Controls”

Get your keyboard back!

Get your keyboard back!

This has now fixed one of the main pain points for me and my new mac.  There’s not much that I have issues with but this was one that really bothered me.  I just wish it was the default setting.  I’d love an application that would list all of the “newb” settings all in one place so that I could more easily change them, or know that they exist for that matter.

Some other things that I have found:

fn + delete = makes delete key a delete key and not a backspace key.

Speaking of the ‘fn’ key, have an app that loves the F Keys like Eclipse?  You can default them to F1,F2 etc with the following change:

Use function keys by default

Use function keys by default

Any other keyboard tips and tricks? Let me know in the comments.