Closed (fixed)
Project:
Favorite Nodes
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2007 at 12:17 UTC
Updated:
29 Aug 2008 at 16:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
iub98 commentedI wanna do the same thing. Have you found a way to do this?
Comment #2
ms2011 commentedHere's the right way to do it so you get a class you can theme, instead of a number. (see attached)
This patch will also make it so when you remove a favorite, you are redirected back to the node page the same as when you add a favorite.
Comment #3
chellman commentedI have another patch for this same issue. The solution's the same, but it seems to me that the convention for the classes is module_name + action, so I'm using "favorite_nodes_add" as the class for the add to favorites link (for example).
This patch is against the latest dev release (11/23/07).
Committing this will mean that hook_link_alter will work too, if needed.
Comment #4
chellman commentedSince there have been a few stable releases since this issue was opened, I'm changing the title to something more noticeable (and, hopefully, accurate). It would be nice to see one of these patches get into the next release.
Comment #5
kbahey commentedPatch does not apply. Please re-roll.
Also, please correct the code style (
} else {).Comment #6
chellman commentedReroll? With pleasure. Thanks for checking back.
Comment #7
kbahey commentedStill fails ...
Please reroll against the DRUPAL-5 cvs tag, or against the 5.x-1.x-dev tarball.
Comment #8
chellman commentedOne more once. Hopefully it will work this time.
Comment #9
kbahey commentedCommitted to 5.x-1.x-dev.
Should be in the tarball in 24 hours.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.