Links to add, remove and status on bio
gausarts - July 20, 2008 - 15:26
| Project: | User Relationships |
| Version: | 5.x-2.8 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I use bio.module to override profile page. I managed to put the given relationships blocks anywhere as I want to, but I'd prefer to put a simple custom links to show in a logical manner/ conditions like this:
1. When there is NO relationship, there is ONLY ONE link on a user bio page:
Add a relationship with the user.
2. When there is a relationship, there are TWO links and ONE status notification:
Add (another relationship), Remove and the Status (like friend, fan, etc.)
I've tried to copy any themable functions from the module into my template.php and call it from bio page, but seemed to fail with the right conditions.
Any help would be appreciated. Thanks
