Code per Views Display (CPV) creates a display extender plugin for Views that allows Views administrators the ability to add custom CSS and Javascript into any display. The CSS and JS code is stored in the display and served as as either inline code or from a file.
CPV is intended for use by Views (i.e. site) administrators.
Features
Add custom CSS or JS code to each display.
Serve code either as inline or from file.
Use Cases
CPV is useful in cases where:
you want to allow views admins to theme a particular display without granting them access to theme files;
you want to apply CSS and JS code to a display across all themes;
you want to apply CSS and JS code to a display without modifying an existing theme or creating a sub-theme.
Requirements
CPV requires Drupal 7 and Views 3. It also requires the Views UI module to be enabled, as CPV has no effect otherwise.
Usage
Install and enable the CPV module, then go to "admin/structure/views/settings/advanced" to enable the display extender, "Code per Display". In each views display, a "CSS" and "JS" field will allow custom code to be added under the "Advanced" fieldset in the display settings.
Auditing is a module that adds a permission to Drupal. Roles with that permission are no longer able to submit forms and therefore are only able to see content.