Closed (fixed)
Project:
Follow
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2010 at 14:55 UTC
Updated:
6 Jun 2011 at 14:02 UTC
Hi
Thanks for the module appreciate the work put in.
I updated to 6.x-1.x-dev from 6.x-1.4 to overcome the issue of link titles/tool tips within the Follow block not displaying correctly.
However rather than the block title now display Follow [Username] On: it displays Follow Anonymous On:
Any suggestions as to why the upgrade is no longer picking up the Username?
Comments
Comment #1
dpatte commentedI started getting this same problem after upgrading from 1.4 to 1.5
I changed one line in follow_link_title()
from
return t('Follow !name on', array('!name' => theme('username', array('account' => $account))));
back to
return t('Follow !name on', array('!name' => theme('username', $account)));
as it was in 1.4 and it seems to be put in the name now, but i'm not sure if its my theme or what because its now presented as three separate lines....
Follow
[Username]
On
edit: the three separate lines problem I see seems to be a problem with 'collapsiblock module'. When I dont make the block collapsible, the change documented here seems to work fine. The 'Follow [Username] On' displays correctly as a single line.
Comment #2
q0rban commentedAh, thanks for the insight into this, dpatte! That makes sense, I'll investigate now.
Comment #3
q0rban commentedThanks, committed!
http://drupalcode.org/project/follow.git/commit/e66f1bb