User login

phptemplate

Discourse Theme Engine Update - Some useful CSS layout and Drupal theme links

Discourse is still at a very early stage, so there's no code to share just yet. At this stage most of the work is going into R&D. The priorities are (1) simple extensible structure, easily customised and rigorous cross browser compatibility, and (2) adopting best-practices for accesiblitiy, usability and seo/indexability.

Discourse Theme Engine

I recently discovered the Thesis theme framework for Wordpress and was inspired to start a similar project for Drupal. I have recoded this completely from scratch (Thesis is a commercial product), but I have already been using Blueprint CSS in many projects recently so I decided to use this as a starting point for the first version. I want to move to more semantic markup in time, but Blueprint is a good starting point.

Image Resizing with CCK, Imagefields, Imagecache and PHPTemplate

If you have a CCK content type with an image field you get display options that allow you to change the image size on teasers and full node views. First you set up your image presets using the imagecache settings. I usually let users upload at any size, and deal with the resizing as required. Here's how to ensure you get best results from imagecache, and how to embed imagefield images into your PHPtemplates using the theme functions provided by imagecache: