Skip to main content
Working from scratch, following simplicity

Views a powerful module for Drupal

Introductory article on this versatile add-on, that allows me to generate list of content in many types: from sliding images and tags-cloud in frontpage, to menu and lists of articles in other pages. Today I will describe some basic features and in the next tutorials I will show you how I implemented it in this site from time to time.

At the beginning I have installed the Views and Views Slideshow modules only for the sliding images effect in the front page. Then I have extend it to building dynamic pages and blocks, teaching it properly. In fact the Views module allows you to easily specify the criteria for displaying a subset of content, even combining multiple content types. As new content is added to your web site, the resulting View is dynamically updated to reflect the new content.

What is this?

The name Views comes from database terminology and they work in a similar manner but they let you use a graphical user interface to create the database query. When you create a Drupal View, the module writes the queries for you so you don’t have to know anything about database administration.

The Views module was created and maintained by Earl Miles (merlinofchaos on drupal.org). All downloadable versions and documentation can be found here.

Which gives the following description:

This tool is essentially a smart query builder that, given enough configuration, can build the proper query, execute it, and display the results.
Among other things, Views can be used to generate reports, create summaries, and display collections of images and other content.

Administration

Once you have installed and satisfied the dependencies (only Chaos tools module), you can enter through this link: http://my_site/admin/structure:

In http://my_site/admin/structure/views it is possible to manage your views: editing/removing or enabling or adding new one, like shown in this image:

Soon to your monitor

The description of my personal views:

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Sponsored Links
Pubblicità

Nicola Rainiero

A civil geotechnical engineer with the ambition to facilitate own work with free software for a knowledge and collective sharing. Also, I deal with green energy and in particular shallow geothermal energy. I have always been involved in web design and 3D modelling.