Back to photostream

Ok, what about my site?

The IA Problem

Drupal’s architecture !== Client’s IA

 

node/43

Now what?

 

Places to set context

 

Page callback

*Views

*Panels

*hook_nodeapi

*hook_form_alter

 

Places to respond to context

 

Everything else

*Blocks

*Menus

*Theme

*etc.

 

Simplicity

 

context_set(‘intranet’, ‘section’, ‘book’);

fig.1 Set context at key points of page logic

fig.2 Simplified block/theme/menu logic

if (context_get(‘intranet’, ‘section’) == ‘book’)

{

...

}

243 views
0 faves
0 comments
Uploaded on June 11, 2008