Our talk about building the DrupalCampLA.com website for DrupalCampLA 2009 at UC Irvine. You can find a full case study with links to download a working version of the website here: http://drupal.org/node/519100
Presentation at DrupalCampLA 2009 on theming the views module in Drupal 6.
DrupalCampLA 2009 Video on using the hooks to program modules in Drupal 6.
Some snapshots from our fun weekend at DrupalCampLA 2009
Screenshot of the new site we launched for Drupal Camp LA 2009
Today I did a presentation on the Views module for Drupal 6 at the Los Angeles Drupal User Group monthly meeting. Below are my notes from the presentation as well as links relating to information I presented and further reading. The video recording of this presentation will be available later at http://drupal-la.blip.tv/
Agenda
During this presentation I will build a few different types of views pages while I show the features that views provides your Drupal site. I will mainly focus on building a set of photo gallery views that revolve around a base ‘photo’ cck node type. * Intro to views (what is it?) * Building our first view * Display types * Using Filters * Using arguments
Modules Installed
Core
- Profile
- Search
- Taxonomy
Contributed
- Admin Menu (admin_menu)
- Advanced Help (advanced_help)
- CCK (content)
- CVS Deploy (cvs_deploy)
- Devel
- Drush
- Filefield
- Imageapi
- Imagefield
- Imagecache
- Token
- Views
Contributed module that provides alternative views display types:
Notes from DrupalCampLA 2008
This past weekend I made two different presentations and participated in a panel. Below are my notes from the presentations:
Drupal FormAPI
This presentation was a quick run down of how to use the FormAPI to create… forms! Examples included a basic one page form and multi-step forms using $form_state[‘storage’]. There was also a demo of how to use the new #ahah feature. After the presentation I was asked a question about how to add additional form elements to forms using the new #ahah features. My answer was that there is now a module out called ahah_helper which makes doing something like this very painless! You don’t have to register any menu callbacks or do any of the lifting outside of your original form builder function. Its still fresh out of the kitchen but I would recommend giving it a try.
References
- Online: Drupal API Docs, FormAPI Quick Start
- Online: Drupal API Docs, FormAPI Reference
- Multi-step forms
- Online: Drupal FormAPI 5.x to 6.x (d.o)
- Online: Drupal Forms 5.x to 6.x (Lullabot)
- Online: Drupal AHAH in core
- Online: Theming the Drupal Registration Form
- Presentation: Drupal FormAPI (5.x)
- Book: Pro Drupal Development
- Book: Learning Drupal 6 Module Development
Drupal 6 Theme Functions and Template Files
Sometimes you can’t theme everything with css. You just can’t. This is where themable functions come in to save the day. The clean to implement, easy to use saviors to themers all over Drupal-land.
Thanks to all who attended my theme function presentations. At the culmination of our 3 one hour long sessions we went from what the template engine is, to calling theme functions in your template files and all the way to implementing our own function and template overrides with the help of the Devel module’s themer module.
Throughout the sessions I sprinkled in tid bits of debugging your code with the use of (Remember devel module must installed and active on your site). Additionally here is the snippet of code we run at the top of the template.php file during development to make sure that Drupal is picking up all of our new template/theme function changes. Remember to disable this before going to production.
I would say more here about what was presented but it really is too much and when the video comes out you will hopefully be able to watch and follow along again. In the case that it doesn’t I have posted up my presentation slides which were a rough outline that I followed during the presentation and I’ve also posted below the references listed at the end of the presentation. I highly recommend reading through these to help guide you on your journey to understanding Drupal’s theming system.
References
- Online: Drupal API Docs
- Online: Drupal Themes 5.x to 6.x Documentation
- Online: Theme Developers Guide (d.o handbook)
- Drupal Theming and Site Building Workshop
- Screencast: Theme Developer Module
- Group: Theme Developers group
- Book: Drupal 6 Themes (Packt Publishing)
Thanks for joining me at DrupalCampLA!
Part 2 of my presentation on the building of the R.E.M. tour website at an LADrupal meetup.
Part 1 of my presentation on the building of the R.E.M. tour website at the LADrupal meetup.
