simple_favs
4 sites
Security covered
Setup instructions
Install this module then add the heart block where you want it and the "My Favourites" block where you want it. Then visit the configuration page which you will find in the admin -> configuration -> user interface -> Simple Favs Settings. A views field is also available for node based tables as well as search_api based indexes of nodes. Simply add the field and configure it as you would a normal views field.
Functionality Overview
- Supports optionally storing favourites in the DB for authenticated users . (fallsback to cookie for anonymous users or if db mode is disabled.).
- Support generic page types not just node/nid pages.
- Allows various prefix and suffix configurations for the block markup and js for site builders.
- Configurable classnames for site builders
- Easy ui for other languages configuration
- Added install setup and uninstall cleanup
- Added some basic styling for the heart (to be improved)
- Prettier fontawesome support if installed.
- Improved promise based asynchronous ajax
- Improved logic (better performance)
- Added views integration, a views plugin field with full UI.
- Block cache strategy and tags that make sense.
- Management page.
- Configurable maximum for the My Favourites.
Screenshots
The heart block (fontawesome mode):
Unselected:
Now for a selected heart (fontawesome mode)
Fallback heart icon provided if fontawesome is not installed or is if fontawesome mode is disabled.