Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nataliedeweerd/drupal7__ndw_addpageclass

Tiny Drupal 7 Module which adds the page alias as a class to the body
https://github.com/nataliedeweerd/drupal7__ndw_addpageclass

drupal drupal-7 drupal7 drupal7-module

Last synced: about 2 months ago
JSON representation

Tiny Drupal 7 Module which adds the page alias as a class to the body

Awesome Lists containing this project

README

        

# ndw_addpageclass
Tiny Drupal 7 Module which adds the page alias as a class to the body

Updated to include the current user's role as well.

### Page
page--[[alias]]

### User
user--[[role]]

## Drupal 8 Version
You can find a Drupal 8 version of this module here: https://github.com/nataliedeweerd/drupal8__ndw_addpageclass