Your SlideShare is downloading. ×
0
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Drupal Theming
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Drupal Theming

1,042

Published on

Presentation for Drupal Sydney User Group meet-up in August 2008

Presentation for Drupal Sydney User Group meet-up in August 2008

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,042
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
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. Drupal 6 overview Aimee Maree Forsstrom August 2008
  • 2. Drupal 5 vs Drupal 6
    • Drupal 6 overview http://drupal.org/node/128752
    • Drupal 5 overview http://drupal.org/node/128749
    • Video tutorials covering installing, upgrading, new features and overview
  • 3. What's New in Drupal 6
    • Improved installer
    • Localisation / internationalism
    • Available updates
    • New optional core modules added example (trigger.module)
    • New usability features added
    • PHP Filter (own module and disable by default)
    • Drop and Drag features within site build block configurations
    • Menu sections are broken down into types of menu, Navigation/ Primary Links / Secondary Links (and yes you can drag and drop : )
  • 4. What's New in Drupal 6 continued…
    • Comments appear per content type, can be disabled or enabled on each content type
    • Date formatting, allows for custom formats
    • Enhanced control over teaser text (you can insert a break in your teaser text and the body (can chose to show summary in full view)
    • OpenID Log in ( just what the user always wanted  )
    • HTML corrector filter (user forgets to add an end tag correcter filter will add the end tag) stops malformed HTML appearing in content
  • 5. Changes to Performance
    • Page Compression has now been added (you can chose to enable or disable)
    • Drupal page cache stores the HTML output of every page into the database (cached copy is then delivered to the end user)
    • Why is this good because there is one call to the database for page output rather then having to execute functions to create the html output (stores in compressed mode less bandwidth)
    • Block Cache is now integrated into core now you simply enable or disable (helps anonymous performance and authenticated performance)
    • Optimize not just CSS but Javascript as well, takes all the JavaScript files and turns them into one javascript file, (makes a call for one file rather then 30 files) helps not only larger enterprise site but aslso shared hosting site
    • Clear cached data (if using cache you need to clear that cache to see immediate changes)
  • 6. Information Architecture
    • Takes a while to get your head around the Drupal way
    • Need to create a Map of the content types your site requires and the content type you will use to represent that content in Drupal
    • Think of your time frame and budget
    • Drupal can accommodate for a complex architecture but you need the time to map the content types
  • 7. Node Hierarchy Module
    • Allows a Node to be a Parent Node and have Children nodes
    • Good for representing a hierarchal information architecture structure
    • Simple to install and use and provides a good way for new drupal people to create node relationships
  • 8. Drupal Menu modules
    • Depends on how complex your navigation system is
    • Can stick with Primary and secondary links and manipulate the look through template
    • Can create new menu blocks etc and theme separately
  • 9. Drupal 6 Themes
    • New drive toward the separation of logic functions and presentation features
    • All theme functions must now be registered
    • Better use of _phptemplate_variables()
    • New theme inheritance structure (more granular)
    • New template files (more template files added for greater control of regions)
    • Allows for pure CSS themes
    • Theme engines (Smarty, PHPTal, LOLTheme)
  • 10. Theme inheritance basics
    • A sub theme sets ‘base theme’ in info file ( Themes now have .info files )
    • A sub theme gains all style sheets
    • A sub theme gains all templates
    • A sub theme gains all functions in template.php
    • A sub theme should never use phptemplate_* functions
  • 11. CSS only themes
    • Core page.tpl.php theme based on zen
    • Uses well-named classes to identify areas
    • A theme with just an .info file will create an ugly site but with clean XHTML that can be manipulated
  • 12. Theme Developer Module
    • Download and install Devel Module
    • http://drupal.org/project/devel
    • Theme developer (Drupal6 only)
    • Works by injecting markers into the DOM to allow theme information
    • Can pull theme function names and also function arguments ( ex arrays)
    • Hover over area of template and function names are displayed for that area
    • Open template file and amend that function to change the template
  • 13. Online Resources
    • http://drupal.org/ (don’t underestimate)
    • http://www.drupalvideos.com/ (tutorial videos)
    • http://mydrupal.com/drupal-beginner-videos-basics (tutorial videos)
    • http://drupal.org/project/devel (Devel Module)

×