The Views module is currently one of the most powerful and widely used modules outside of Drupal Core. It's a "must have" module for any Drupal developer.
Simply put, the Views module provides a friendly interface allowing developers to query the content of their site, and return themeable results. Allowing developers to display things like news/events listings, lists of users, image galleries, etc. ... the possibilities are endless.
10. Views Defaults Filter results to published nodes only and Gallery Image content type Sort our results by the most recent uploaded photos Define which fields from our content we’d like to display Create an Argument that will allow us to display the photos of specific users
12. Query Builder? SELECT node.nid AS nid, node_data_field_upload_photo.field_upload_photo_fid AS node_data_field_upload_photo_field_upload_photo_fid, node_data_field_upload_photo.field_upload_photo_list AS node_data_field_upload_photo_field_upload_photo_list, node_data_field_upload_photo.field_upload_photo_data AS node_data_field_upload_photo_field_upload_photo_data, node.type AS node_type, node.vid AS node_vid, node.title AS node_title, users.name AS users_name, node.created AS node_created FROM node node LEFT JOIN content_type_pogo_image node_data_field_upload_photo ON node.vid = node_data_field_upload_photo.vid INNER JOIN users users ON node.uid = users.uid WHERE (node.type in ('pogo_image')) AND (node.status <> 0) ORDER BY node_created DESC Our Selected Fields Our Arguments Our Filters Our Sort Criteria
13. Breaking it down Display Style Row Fields Views Theming Hierarchy
- How many are familiar with “Views”? - How many of you would consider yourselves “advanced” or “Views Experts”? - What have you used views for? - How about ImageCache - how many have used it? - A basic overview of the views system also how to theme a view and the elements within the view - A quick look at ImageCache and the magic that it produces
- I got into web development in 1999 - straight out of college. I started the “web unit” at an advertising agency. - After 5 years, I left the agency, and started working free-lance doing more web development. I have done it all -
- You can query things like, users, comments, or nodes (any content type) - It’s a GUI interface that creates an SQL query in the background
This is ideal for clients or users who are not familiar with products like photoshop and like to upload giant terrible images.
- It’s the latest basic Drupal 6 installation - also threw in an existing theme (Singular based on tao). - The new content type holds the information for our photos that we’ll upload... well simply add the ability to upload an image and put in a caption. - we will create multiple imageCache presets - each preset will allow us to do different things with the images that we upload.
- These are a few of the other modules that I have installed in order to get everything running properly