Hightower Posted November 13, 2009 Posted November 13, 2009 I would ask this on the Moodle site but frankly I love this place too much, and there's many a guru here to help me out. Basically we have Moodle setup. The home page is setup to show stuff for kids at the minute, but I want to start adding staff links on the Moodle home page too - but I want these to only be available to staff. Similarly, I want some of the kiddy stuff to only show for kids. I know I can do this by making teachers "front page teachers" but this is a faff on, especially when it comes to parents logging on cos you guessed it.... I want parents to see altogether different links and blocks. Like I say, it's a faff to have to make 1000 parents the "parent" role on the front page just to get a different appearance. Is there anyway I can hard code the blocks in question and do something like "IF USER IS NOT A TEACHER OF ANY COURSE SHOW STUDENT LINKS ELSE IF USER IS A TEACHER OF A COURSE SHOW TEACHER LINKS ELSE IF USER IS A PARENT OF A STUDENT SHOW PARENT LINKS"? Anybody got any thoughts?
secretlife Posted November 13, 2009 Posted November 13, 2009 You don't need to hard code anything - just follow these instructions - Moodle Blog Control who sees a block on your Moodle front page Also available on moodle.org here Block permissions - MoodleDocs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now