This site is archived.

Page render drill down in Drupal 7

Day: 
Tuesday
Time: 
3:00 PM - 4:00 PM
Room: 
306 Trellon

Presented by

Moshe Weitzman (moshe weitzman)
Cyrve
Under the HoodUnder the Hood
Technical details: Study servers, Drupal core, module building, and more.

Join Moshe Weitzman for deep dive into the page render system for Drupal 7. We'll learn how to build and theme a standard page callback. Then we'll evaluate various alternatives for modifying the page, to meet some hypothetical user experience requirements. Learn more about:

  1. Build a drupal_render() array in a menu callback. Learn to differentiate between key properties such as #type, #theme, #theme_wrappers, #pre_render, ...
  2. Change the $page during hook_page_alter(). Move some blocks, alter text, etc.
  3. Make changes during the preprocess and process stages of page themeing
  4. Use theme_hook_suggestions to route themeing to alternate templates and theme functions.
  5. Alter the theme registry for hostile takeover of theme hooks.
Experience: Advanced, Expert
Industry: education, entertainment, library, marketing, media, non-profit