Module Description
Synopsis
Extra body classes is a simple module which will provide extra classes on the <body> tag. This module will provide below functionality.


* Timestamp: This option will provide time stamp as a class <body> tag. ex. 20151007
* Year: This option will provide year as a class to <body> tag. ex. 2015
* Month: This option will provide month as a class to <body> tag. ex. october
* Day: This option will provide day as a class to <body> tag. ex. wednesday
* Current browser platform: This option will provide current browser platform as a class to <body> tag. ex. mac
* Current browser name and version: This option will provide current browser name and version as a class to <body> tag. ex. chrom chrom46
* Current device: This option will check whether current device is Desktop or Mobile and implement as a class to <body> tag. ex. Desktop
* Roles: This option will provide current user roles as a class to <body> tag. ex.authenticated administrator
* Single Day Event: This option will provide custom single day event classes to <body> tag. ex. independence-day
note: This class will be removed once single day event is over.

* Multiple Day Event: This option will provide custom multiple day event classes to <body> tag. ex. drupal-con-asia
note: This class will be removed once multiple day event is over.

* Custom Classes Based On Path: This option will provide custom classes to <body> tag based on path. ex.node/1, about-us

How to use it

* After download place unzipped folder in YourProjDir/modules/contrib directory
* Go to admin/modules and enable it.
* For configuration go to admin/config/content/extra-body-classes check options and save it
* Output: <body class="20151014 2015 october wednesday .......>

Credits
Rahul Baisane (rahulbaisanemca) - https://drupal.org/u/rahulbaisanemca

Dependencies
This module will not be depend on any other contributed module.

Project Usage
282
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Extra body classes module provides additional classes to the <body> tag based on various criteria such as timestamp, year, month, day, browser platform, browser name and version, device, user roles, single day event, multiple day event, and custom classes based on path.
Data Name
extra_body_classes

OPENAI CHATBOT

OPENAI CHATBOT

12:26:18
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.