There doesn't seem to be a "class" or "id" tag in the view source next to the "subscribe link" under the posts in the links section. I would like to be able to add a small icon to this list of links right in front of the "Subscribe" tag and have been able to do it for all of my other links except this one.
For example my links say:
Email this Digg Stumble Upon Subscribe Add Comment
in front of each I am able to add an icon using css, except subscribe.
i have searched the module for the right place to put it, but was unsucessful -- can you help?
Thanks
Julie
Comments
Comment #1
salvisGood point.
Add (one line!)
to the array returned from subscriptions_ui_link() in subscriptions_ui.module.
Thanks!
Comment #2
spyderpie commentedThank you - works beautifully!
Comment #3
salvisComment #4
dvessel commentedSalvis, that should actually be like this:
That eventually gets fed into theme_links and the key is used to add a class the the parent list item, not just the anchor. Doing it this way will add it to both. I need to get in a selector for the list item but all it does is add a zero class which is illegal and unworkable.
Comment #5
dvessel commentedAnd the patch.
Comment #6
marcp commentedSee http://drupal.org/node/64279#handling-of-links for an explanation of why dvessel's patch makes hook_link() fully 5.x compatible.
Comment #7
salvisThanks, dvessel and marcp!
Committed to CVS, the subscriptions 5.x-2.0-dev snapshot release should show up within 12 hours.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.