if ($mode' == modSystemEvent::MODE_NEW) {
$resource->set('hidemenu','1');
}Can’t make it work.
There should be a System Setting for this, IMO, but I can’t find one.
You could do it with a plugin tied to the OnDocFormSave event. I think this would do it (untested):
if ($mode' == modSystemEvent::MODE_NEW) { $resource->set('hidemenu','1'); }
This discussion is closed to further replies. Keep calm and carry on.