Hello!

I was wondering if you could answer this question for me?

I have a website that will be used by 3 different types of users:

1. individuals
2. non-profits
3. businesses

I have set up 3 dashboards. The individual dashboard shows the user's name above the dashboard and the tabs. I want the user - if they have more than one role to be able to move to eash dashboard that applies and see either the business name or the non-profit's name in place of the username. In each content profile, the business or non-profit name is stored in the Title field.

Is this possible? If so, can this module do this somehow?

Thank you!
Hélène

Comments

mattyoung’s picture

we can enhanced the _accountmenu_get_realname() function to add more token, right now, there are @name, @realname, if dashboard is available, we can fetch more data and a @dashboard_type toaken, something like that. I'm not familiar with dashboard, so I cannot give anymore advise.

Please look at accountmenu.module and see the function:

_accountmenu_get_realname() and where it's called. It's not complicated.

let me know if you need more help!

If possible, create a patch and I'll incorporated it here.

from Mt. Emei, China

john franklin’s picture

Issue summary: View changes
Status: Active » Fixed

Added a hook to make this possible.

HJulien’s picture

Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.