Installed the 12/23/08 dev version on Drupal 6. Ended up not implementing it on my site because the link on the profile page wasn't controllable. I'm using Content Profile and have a enough stuff on an user's profile page that having the link at the very bottom, it gets lost. I'd need the ability to move it up on the page via a weight setting.
Also, the link isn't wrapped in a div so, there's no way to easily address it in CSS and alter the text size/appearance or make any adjustments.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | send_link_class_profile_item.patch | 2.45 KB | berdir |
| #2 | send_link_class.patch | 2.22 KB | berdir |
Comments
Comment #1
mark. commentedWould it be possible to add a class?
Line 1404 of the privatemsg.module is where the link is created:
Comment #2
berdirAdded a class to profile, node and comment links.
Comment #3
berdir#2: send_link_class.patch queued for re-testing.
Comment #5
mark. commentedMy fix was to wrap the link in a div, by appending the html. That way you can add as many classes or wrapping divs that you could ever need to style it properly:
Before:
After fix:
Comment #6
berdirHm, actually, I think we should convert it to a user_profile_item, then it is styled similiar to all other things on the user profile and it is easy to override through http://api.drupal.org/api/drupal/modules--user--user-profile-item.tpl.php/6.
Comment #8
berdir#6: send_link_class_profile_item.patch queued for re-testing.
Comment #9
berdir#6: send_link_class_profile_item.patch queued for re-testing.
Comment #10
berdirCommited zo 6.x-2.x and 7.x-1.x. Thanks for testing and reviewing.