Cookbook / blog

cubiq - October 11, 2009 - 09:20

I always used wordpress (and never liked that much) for blogs but this time I needed some more flexibility especially regarding image handling/thumbnailing.

Cookinflorence.com is a personal recipes collection. Each recipe has a main picture that is shown in the front page and in node view, but I also have a smaller version for taxonomy pages (eg: tomatoes) and for a mobile version (to come). All the magic is done by imagecache which I totally felt in love with. Lightbox2 also was a nice touch to show the step-by-step instructions for each recipe.

Since the larger number of recipes are italian and have italian titles, it was crucial to have an english counterpart subtitle. So thanks to CCK I added a text field (subtitle) which is always printed under the node title. CCK is also used for "Ingredients" and "Method" fields. Page_title was handy for adding the subtitle to the "title" tag for SEO.

Other must have are pathauto and globalredirect, which I think should be merged into a single project. Views is used to show the "latest posts" and twitter posts (not online yet).

Layout is a custom theme with as little as possible template.php hacks. I needed to change comment and search forms and a little of page/node preprocess just for garnishing. I tried some theme frameworks but at the end I decided to have a simple layout done from scratch with no sub-theming.

What I miss and think should be implemented by the core engine is the possibility to have blocks in more than one place (eg: sidebar and footer).

I'd say the site is still in Beta1. Some more sections need to be activated (such as an aggregator) and I need to dive deeper in the anti-spam thing. Thanks for your comments and if you have questions, please ask.

Panels

yelvington - October 11, 2009 - 13:36

What I miss and think should be implemented by the core engine is the possibility to have blocks in more than one place (eg: sidebar and footer).

Breaking free of the 1:1 tyranny of the blocks system is the biggest reason for using Panels.

 
 

Drupal is a registered trademark of Dries Buytaert.