Documentation

Configuration / createdir.templates

This option is used by the create directory dialog, the files specified in this comma separated list will be used as templates for creating new directories. This enables users to select the template from a drop list and create a instance of that directory.

This option can be very useful when for example a index.html file and a images directory is to be auto created for the user.

There are a few built in variables that gets auto replaced when this option is used, these variables are:

${path} The current path.
${rootpath} The current root path.
${configpath} The current mc_access path.

$moxieManagerConfig['creatdir.templates'] = '${rootpath}/templates/dir1,${rootpath}/templates/dir2';