First page not printing in IE 7

A weird problem was happening on one of my sites where IE 7 could print off a web page, but the first page of printing was blank – the content wasn’t pushed off to the second page, the first page was simply empty and the second continued on from where the first would have ended. […]

Read more

Ubuntu – gnome panels hanging randomly after using “Connect to Server” (gvfs)??

For ages I put up with random hangs and where some or all of my panels would stop responding, and completely rebooting was the only solution (killall gnome-panels wouldn’t unfreeze things either; all the hung panels disappear, but then nothing comes back in their place)… I knew it had something to do with connecting to […]

Read more

drupal with active directory (ldap)

Getting drupal authenticating logins against active directory can be intimidating, at first. I certainly felt that way. A few hints You will need PHP installed with the ldap extension. Use phpinfo(); to check if it’s there. Without that you can’t even begin. The ldap_integration module for drupal is fantastic, but the configuration is confusing if […]

Read more

Web development languages in use in NZ

Today I ran a poll on the NZWEBDEV email list, and asked members to indicate which server side languages they regularly use in their work. Results are below but you’ll need to click on the image for a legible version.   PHP is the clear winner. I’m surprised that the microsoft languages were not more […]

Read more

drupal: inserting flash content (youtube videos) fails to display in IE

One of the drupal web sites I work on had a problem where any youtube video that was posted to the site failed to display on internet explorer. Any other browser worked fine. The code we were trying to insert was this: <object height=”350″ width=”425″ codebase=”,0,40,0″ classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″> <param name=”src” value=”” /> <embed height=”350″ width=”425″ src=”” […]

Read more

theming just one node in drupal

Drupal’s theming system uses file names to decide which theme to apply to whatever page the visitor is asking for. So  page-front.tpl.php is the front page, block-footer.tpl.php is any block in the footer, page-node-10.tpl is the page that contains node 10, etc etc However, out of the box, there is no way to theme just […]

Read more

rails error: IOError: Couldn’t load the unicode tables for UTF8Handler (dump format error(0xb))

Argh I can’t believe how long it took for me to track this one down. No one else on the internet had reported the problem before, so trusty ole google was no help. So I’m putting this one out there, to help others. This error is caused when a file vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat becomes corrupted. The easiest […]

Read more huge difference between DataView.Table and DataView.ToTable

Both DataView.Table and DataView.ToTable return a DataTable from a DataView. The difference is that .Table gives you the underlying data, with no changes from the dataview’s sorting or filtering. ToTable on the other hand, gives you the data in the dataview after filtering and sorting! This is the sort of thing I’ve come to expect […]

Read more

1 2 3