Possible to override site creation in Sharepoint?

We want to customize the "My Site" templates for different roles, say Students and Teachers. So basically we want to have one Site Def. for each and when they press "My Site" we want to create a new site using a different template depending on the role of the user (Student vs. Teacher). Does anybody know if this is even possible? Or any work-arounds that could work?

I know that it's possible to execute code during the process, I've seen lots of examples of this, but we want to do some stuff before that happens...

EDIT: Would it be possible to override the link to "my site" and then create a new site manually?

12.12.2008 09:21:57
1 ОТВЕТ
РЕШЕНИЕ

You can't create a custom site definition for mysite. The way to go is described here on the SharePoint team blog.
Then in the code to be executed, you can activate features based on the current user role.

That's the easiest (and supported) way I can think of.

1
12.12.2008 13:15:47
Would it be possible to override the link to "my site" and then create a new site manually?
noocyte 12.12.2008 13:17:09
I guess it would be possible (not easily). However, you'll loose some functionnality related to mysite such as Office client and windows integration (you can let Windows remember your mysite).
Nico 13.12.2008 18:48:39
We've decided to go with the Stabler/Stablee solution. :)
noocyte 6.01.2009 11:09:58