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

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

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

automatic iframe height

Placeholder

I’ve been forced to use an iframe in an app I’m developing, for long and boring reasons. One of the perennial problems that iframes presented was that their height needs to be specified upfront, and if the content within turned out to be too long then too bad; a nasty scroll bar would appear in […]

Read more

top