Ah, Views. You know you need it. You know everybody else is using it. But where do you start?
The Views module has been the most commonly used contributed project on Drupal.org for a long time, and is being integrated into Drupal core for version 8. The deceptively simple concept of making lists allows you to configure sophisticated functionality like automated section fronts, complex content relationships, custom search interfaces, and administrative listings entirely through the admin—no custom module required.
In this session, we will see how to create some basic elements for both site visitors and content managers, and how Views can help us build our project without writing PHP code or SQL queries. Building from very simple to more complex, we will look at common use cases:
Site visitor elements :
- Create page listing articles
- Create front page blocks with the latest articles, including a view more link to the proper page
- Create blocks with related content based on current content tags
Administrative views :
- Content list
- People list
- Exposed form
- VBO (Views Bulk Operations)
Advanced :
- Ajax pager
- Ajax exposed form
- Debugging a views query
- Access control
- Caching considerations
- Extending components
By the end, you'll have the knowledge you need to explore Views and add more power to your site. Come and see why Views is used on so many sites, and is moving into core in Drupal 8!
- Log in to post comments