This project is not covered by Drupal’s security advisory policy.
This module, to be used with the Flag module, wraps flagged items with useful CSS classes. For example, a bookmarked node will be wrapped with a class="node-flagged-bookmarks-self"
that can be used to theme the node.
Features
- Classes are added and removed dynamically, through JavaScript, when the AJAX flagging links are used. No page refresh is necessary.
- Rows in views styled as tables (and lists) are also assigned these CSS classes.
Status
This module is in a development state and is not yet suitable for production sites. Comments, bug reports and feature requests are welcome.
Downloading
You can download the current releases from the "View all releases" link at the bottom of the page.
Example
Classes are automatically added to any node flagged by the flag module. To style bookmarked nodes, for example, add the following css to your stylesheet:
.node-flagged-bookmarks-self {
background-color: pink !important;
}
The appropriate classes will be applied dynamically via AJAX whenever the node is flagged, and removed dynamically via AJAX whenever a node is unflagged.
Project information
- Module categories: Content Display, Developer Tools
- 3 sites report using this module
- Created by mooffie on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.