Add to Favorites Block
gabriel.ferreira - October 16, 2008 - 00:38
| Project: | Favorite Nodes |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I'm trying to "add to favorites" feature on a Block. The main problem is when the node is already a faved, it still apear "Add to Favorites" instead of "Delete this Favorite"

#1
Look in the code of the module where it determines if the node is in favorite or not, and do the same in your block.