The presence of the audio module is preventing the link to a user's blogs showing on a profile page.
The blog link is provided by blog_user() in the core blog.module, and audio_user() is causing the link to not appear.
If I comment out audio_user(), the blog link appears in the profile.
My guess is that this is because both hook implementations are returning
return array(t('History') => $items);
and audio's is clobbering blog's, which I assume comes earlier as it's a core module.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | audio_142374.patch | 898 bytes | drewish |
| #1 | userprofilehistoryitems.patch | 723 bytes | joachim |
Comments
Comment #1
joachim commentedOkay, I don't exactly know what I'm doing here...
but user_user has this:
$items['history'] = ...
blog_user and audio_user both have this:
$items[] = ...
If I change audio_user to assign to a key, everything works:
$items['audio'] = ...
I stress that I've no idea if this is the right thing to do :)
Here's a patch anyway.
Comment #2
drewish commentedsorry to have ignored this for so long. committing to HEAD and DRUPAL-5.
Comment #3
(not verified) commented