mm_default($field, $value, $roles, $templates, $eval)
mm_default($field, $value='', $roles='', $templates='', $edit=false, $eval=false)
lol) D
Correction:
Just a little note for documentation for the next release - the document field show_in_menu does not seem to exist - I am using hidemenu instead.
Nick, i saw that in last version there is no "parent" field in mm_default function. Here i wrote about it. May be if you like this you can add this field to this function in next version.
I was add parameter $edit for this function in my own version. If its false, that mean that default value is set only when creating new document, if its true - default value set when creating and editing document (i.e value always rewriting with default value).
This discussion is closed to further replies. Keep calm and carry on.