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: 4 months ago
JSON representation
Tiny Drupal 7 Module which adds the page alias as a class to the body
- Host: GitHub
- URL: https://github.com/nataliedeweerd/drupal7__ndw_addpageclass
- Owner: nataliedeweerd
- Created: 2018-11-13T09:53:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T15:06:55.000Z (almost 7 years ago)
- Last Synced: 2025-12-20T01:29:43.472Z (6 months ago)
- Topics: drupal, drupal-7, drupal7, drupal7-module
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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