How to add headers into Drupal Views
It’s not so hard to do if you have access to view. But for regular user, this task can be really hard, and we don’t need to give them chance to blow up whole code. Here is a simple tutorial, how to manage this task without giving access to views.
In regular way user need to login into Drupal, then go to Administer -> Site building -> Views and click on edit in particular view. Of course we can edit only views which has display property set up to Page. Here is example how to edit header in view:
Ok. What we want to achieve to edit headers in view in more user friendly way. First first we need to install additional module called Views UI: Edit Basic Settings. This module gives you ability to “extract” headers or other element (header, footer, title, or empty text) for the view, to Content Management section. Best of all – we can also get possibility to use WYSIWYG module!
After install module, we need to go to the: Administer -> Site building -> Views -> Editable basic settings. Page will look like this one:
As you can see – we have Header enabled to edit, but – you need also chose which view you want to edit:
Ok. What next?
Now we can enjoy with editing headers on this view in content section.
Thats all. Done.