 readme  id readmetxt v 114227 20100823 171500 yhahn exp context 3x for drupal 6x context allows you to manage contextual conditions and reactions for different portions of your site you can think of each context as representing a section of your site for each context you can choose the conditions that trigger this context to be active and choose different aspects of drupal that should react to this active context think of conditions as a set of rules that are checked during page load to see what context is active any reactions that are associated with active contexts are then fired installation context can be installed like any other drupal module place it in the modules directory for your site and enable it and its requirement ctools on the admin build modules page you will probably also want to install context ui which provides a way for you to edit contexts through the drupal admin interface example you want to create a pressroom section of your site you have a press room view that displays press release nodes but you also want to tie a book with media resources tightly to this section you would also like a contact block you ve made to appear whenever a user is in the pressroom section 1 add a new context on admin build context 2 under conditions associate the pressroom nodetype the pressroom view and the media kit book with the context 3 under reactions menu choose the pressroom menu item to be set active 4 under reactions blocks add the contact block to a region 5 save the context for a more indepth overview of the ui components see the context ui readmetxt upgrading from context 2x for drupal 6x download latest context 3x and latest ctools release and place in modules directory make sure to remove the existing context 2x directory before unpacking context 3x there are stale files in the 2x branch that need to be removed run updatephp or drush updatedb if your site contains contexts defined in code they will be overridden reexport them to code again if you are using any custom conditions or reactions you may need to upgrade or reconfigure them by hand see apitxt for instructions on adding and extending plugins in context hooks see contextapiphp for the hooks made available by context and apitxt for usage examples maintainers yhahn young hahn jmiccolis jeff miccolis steven jones contributors alexb alex barth dmitrig01 dmitri gaskin pasqualle csuthy bálint  