Default Dashboard for some users only.

Default Dashboard for some users only.

by Roberto Catanuto -
Number of replies: 3

Hi, I'd like to set a default Dashboard as in https://docs.moodle.org/29/en/Dashboard#Setting_the_default_Dashboard_for_new_users 

but I don't want it to be the same for all users. I'd like it to be:

- a default Dashboard for new students

- a different Dashboard for new parents

- a different Dashboard for new teachers

Do you think it's possible?

Thanks a lot.

version: Moodle (e.g. 3.2.1)

Average of ratings: -
In reply to Roberto Catanuto

Re: Default Dashboard for some users only.

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Unless somebody has a great idea, I don't think that can be done. 

Anyway, how would you know who is a new student/teacher/parent? In general, these roles are not assigned at site level and certainly not when the account is creatd. 

In reply to Howard Miller

Re: Default Dashboard for some users only.

by Roberto Catanuto -

Of course I know, I mean when I create a new  user I certainly know what kind of user it is...

In reply to Roberto Catanuto

Re: Default Dashboard for some users only.

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I'm sure you do, but how do you propose that Moodle will know what you know?

There is currently no option in Moodle authentication to specify a type of user. So what you really want to do is (something like) create a default Dashboard based on a custom profile field. This is theoretically possible but would require a custom plugin to be developed.