Post on 22-Nov-2014
description
June 27, 2009
Theming Your ViewsPresented by Mark W. Jarrell Drupal Username: attheshow
Http://fleetthought.com
What are we talking about?
✤ This is a “how to” session
✤ Building a view (the quick and dirty version)
✤ Modify the look and feel of the view output using some basic CSS
✤ Working with Views template files in order to completely change the code that comes out around your fields
Why do we need to do any theming to what Views creates?
✤ Make your site look individual and stand apart from the crowd
✤ Control! You may not like what you get out-of-the-box.
✤ You may need some HTML in your list of items that Views isn’t generating for you.
✤ Example: “I wish I could automatically capitalize my node titles in this list.”
What do we need to make it happen?✤ Not much! Fairly straightforward.
✤ Views modulehttp://drupal.org/project/views
✤ “Advanced Help” modulehttp://drupal.org/project/advanced_help
✤ Build a custom theme or modify an existing one
✤ Firebug Firefox Extensionhttps://addons.mozilla.org/en-US/firefox/addon/1843
Demo
Further Reading Links
✤ “Views 2 Theming”http://drupal.org/node/352970
✤ Install the “Advanced Help” Modulehttp://drupal.org/project/advanced_helpThen visit http://[YOURSITE]/admin/advanced_help/views
✤ Click on “Theme: Information” when looking at a viewand really read what it says there.
Photo On Intro Slide: Http://is.gd/1dIC3