@Pbaan93 You have got the correct syntax, your only problem might be, that you need the correct identifier, which depends on your config.js. If your modules in your config.js look like this:
modules: [
{
module: 'calendar',
header: 'Some calendar',
position: 'top_right',
config: {
// not configured, just an example
}
},
{
module: 'clock',
position: 'top_left'
},
{
module: 'newsfeed',
position: 'bottom_bar',
config: {
// not configured, just an example
}
},
]
You could use module_0_calendar, module_1_clock and module_2_newsfeed to hide each module (it is always module + the number of the module in your config, starting to count from 0 + the module name, all separated with underscores).
This is the internal identifier, and not simple to construct, but allows to have, for example multiple calendars, and you can hide one or the other.