Making Drupal Dance: Techniques for Non-obvious Theme Manipulations

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Making Drupal Dance: Techniques for Non-obvious Theme Manipulations - Presentation Transcript

    1. Making drupal dance
      • Techniques for Non-obvious Theme Manipulations
      DESIGN 4DRUPAL BOSTON PRESENTOR JUNE 14, 2009 JOHN ALBIN WILKINS ( Johnalbin )
    2. Secondary Links stink
          • A Theme’s Primary and Secondary links or
          • Block containing Menu tree
    3. Menu Block module, ftw
      • http://drupal.org/project/menu_block
      • Multiple blocks for placement
      • Highly configurable: slice & dice your menu tree
    4. The Drupal 6 Two Step
        • MODIFY YOUR VARIABLES: THEME_preprocess_HOOK(&$vars)
        • SLIGHTLY REARRANGE YOUR VARIABLES: HOOK.tpl.php
    5. Breaking up $content
      • CCK can do it!
      • “ Display fields” tab admin/content/node-type/[TYPE]/display
      • “ Exclude” checkbox: removes field from $content, but still renders the field
    6. Understanding the hidden order of tpls
      • Which template gets rendered first?
      • How do we exploit the order of rendering to move variables around?
      • PHP’s static variables.
    7.  

    + John Albin WilkinsJohn Albin Wilkins, 5 months ago

    custom

    468 views, 0 favs, 0 embeds more stats

    These are the slides from my Design for Drupal: Bos more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 468
      • 468 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 16
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories