There is one main site, and then each program has its own subdomain. We have created a custom registration field (drop down, single select) called "program" to designate which program users belong to.
What we would like to do:
On the root site, have a menu item that redirects the user to their program's subsite using the value of this custom registration field. The value of the custom field only needs to be retrieved and tacked on to the end of the home url.
I have successfully done this within a page, using php to construct the link. However I don't know how to just make it one menu item that changes according to the current user. (If you are familiar with the plugin PageLinksTo, it would sort of work like that, only it would change according to the current user.)
Any ideas?Statistics: Posted by TheresaBug — December 28th, 2011, 12:23 am
]]>