Earl Miles sat down with Jerad Bitner (sirkitree) of DrupaLMAO to discuss DrupalCon 2008 and the future of Views 2, Views in core and Panels 2.

Comments

context module

Jeff and Young at Development Seed have released a module that allows you to specify contexts: http://drupal.org/project/context

This is very similar to a custom approach I've used on MothersClick.

Essentially you can programatically define your contexts and then change your module & theme behavior based on the context. The best example is how I get node teasers to look dramatically different (not only CSS, but different fields shown) based on the context: on a node listing page, within a block, in a node queue, etc.

Thanks Ted! I'll have a look

Thanks Ted! I'll have a look at this to see where it could be useful, maybe talk about it on the next show?

Add comment