Extending views with arguments


show more Extending views with arguments provides you with in-depth training on Web. Taught by Tom Geller as part of the Drupal 6: Online Presentation of Data show less
please wait ...

Extending views with arguments

Now we are going to show a method that makes Views even more dynamic by allowing the user to provide input to the View, usually at the end of the URL. The method uses something that called in Drupal speak, Arguments. An understanding of them opens your data display possibilities up enormously. The system of arguments is conceptually tricky and the possibilities through it are far too numerous to cover in depth here but here is a taste. If we go to http://localhost/node/3, we see whatever node three is. That last part, the three is the argument and the argument is being passed to Drupal through the URL after this little bit node.

Here is another example. If you go to Administer > User management and Users, you see list of all of the users on your system. Click on any one of them and it goes to the page for that user, which is localhost or whatever your domain name is, /user/6. Once again, the 6 is the argument that's being sent to Drupal. If we change that 6 to 5, we would see us...

Extending views with arguments
Video duration: 10m 9s 6h 8m Intermediate

Viewers:

Extending views with arguments provides you with in-depth training on Web. Taught by Tom Geller as part of the Drupal 6: Online Presentation of Data

Subject:
Web
Software:
Drupal
Author:
please wait ...