Your SlideShare is downloading. ×
  • Like

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.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

10 life-saving modules for drupal theming

  • 3,916 views
Published

10 Drupal modules that can make the life of the themer much easier.

10 Drupal modules that can make the life of the themer much easier.

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,916
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
92
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide













Transcript

  • 1. 10 LIFE-SAVING MODULES FOR DRUPAL THEMING Athens Drupal Meetup - 11/11/10
  • 2. MODULES 1. Admin 2. Node and Comments Form Settings 3. Vertical Tabs 4. Menu Attributes 5. Themer 6. Theme Editor 7. Composite Layout 8. Skinr 9. Contemplate 10. Context
  • 3. 1. ADMIN - http://www.drupal.org/project/admin - UI improvement to the standard Drupal admin interface - Prerequisites: Tao base theme & Rubik Theme - Configure at admin/settings/admin - Creation of admin “plugins” (Drupal Blocks)
  • 4. 2. NODE AND COMMENT - http://drupal.org/project/nodeformsettings - Make modifications to node form elements - Make modifications to comment form elements - User hook_form_alter - Different settings for every content type
  • 5. 3. VERTICAL TABS - http://drupal.org/project/vertical_tabs - In core for Drupal 7 - Provides vertical tabs on the node add form - When used with Form module, allows vertical tabs in every form
  • 6. 4. MENU ATTRIBUTES - http://drupal.org/project/menu_attributes - Allow to specify attributes to menu items - Id, name, target, rel, class, style, accesskey - Very useful on primary links
  • 7. 5. THEMER - http://drupal.org/project/themer - Enable, disable and customize body classes (path, random, tokens, roles, locale) - Utility functions : themer_add_class, themer_class_date_prox, themer_string_to_css - <body class=”<?php print themer_body_class(); ?>”>
  • 8. 6. THEME EDITOR - http://drupal.org/project/theme_editor - Interface for the editing of theme files within a Drupal site - Simple backup and restore functions - Add or delete files - Permissions for themes and file types
  • 9. 7. COMPOSITE LAYOUT - http://drupal.org/project/composite - Consider it a light version of Panels - Displays nodes in complex layouts - Adds box logic to node display - Works with CCK fields
  • 10. 8. SKINR - http://drupal.org/project/skinr - Defines a set of reusable and modular CSS styles - These styles are available to Drupal UI - Define a skin in .info file - skinr[skin_system_name][title] = Title
  • 11. 9.CONTEMPLATE - http://drupal.org/project/contemplate - Modification of teaser and body fields using administrator defined templates - Uses PHP code in a manner similar to PHP Template - All of the node object variables are available for use in each template - node-{nodetype}-{field}.tpl.php (body,teaser, RSS) - node-{nodetype}.tpl.php or node.tpl.php - sites/all/contemplates
  • 12. 10. CONTEXT - http://drupal.org/project/context - Manage contextual conditions and reactions for different portions of your site - Context UI is a administrative interface - Context layouts provides a formalized way for themes to declare and switch between page templates
  • 13. THANKS! George Papadongonas george@infowonders.gr twitter: @infowonders