customize student dashboard

mbscott
Forums
I'd like to customize the student dashboard, but I want to micromanage in such a way that students CANNOT add a block. I simply want a list of courses. I did a search here and the answer seemed to be to use css to set the green "add a block" button to visibilty: none but I'm not sure where to add that css or whether or not that will take away the admin ability to add a block (which I need, of course.) Perhaps the answer is just a custom page. The courses we are offering should not need much of the functionality of opigno. Thanks, Missy
Profile picture for user James Aparicio
James Aparicio

Hi Missy,

Hi Missy,

 

If a users cannot access the block, they cannot view or add it in the dashboard.

If it is a view block you can manage the access in the view. If it is a normal block you can just edit the block and select the roles you want to have access to it.

 

Best regards

 

mbscott

I don't even want the clutter

I don't even want the clutter of the green "add block" button... I would like to know how to actually remove the button. Missy
Profile picture for user James Aparicio
James Aparicio

Hi mbscott.

Hi mbscott.

If you want to keep using homebox, you can look at the template file profiles/opigno_lms/modules/contrib/homebox/homebox.tpl.php.

You can use the theme_registry_alter hook if you do not want it to be replaced when updating.

 

If you do not want to use homebox, you can change the default home page and implement your own.

 

Best regards