Drupal views help in querying and displaying information fast and it becomes so hard when it comes to custom table fields to be accessed in the view arguments. To help Drupal views understand the exposure of modules and custom table data, we use hook_views_data().
Views
Views Bulk Operation module is helpful in the cases where we need to perform a particular operation for more than one row in a view. Some of the operations includes deleting multiple contents, publishing/un-publishing contents, change the author of the content, send email etc (Refer the image below). These are the default operations available with the module. Now, what if you need some of your operation to be performed other than this? That too is possible. You may read on if you want to know how it can be done.
'Feeds' helps us to keep track of contents in another websites. In Dupal, we have 'feeds' module for this purpose.Through this article, we will be helping you to find out how you could create a custom feed using views in a drupal 7 site.
Follow the below steps . Please note, you will have to enable the 'Views' module before padding up.
Step1: Create a New View
Goto Administer > Site building > Views > Add. Create a view name called "custom_feed" with description and the View type as "Node" and press Next button.
Drupal offers flexible support for theming by allowing us to edit its template files. If we want to add a few custom variables other than the default variables then we need to do some coding within the template file. If you want to know how to add a custom variable in a Drupal's View template file then read on to find out more.