MCFileManager:Configuration/createdoc.fields

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: createdoc.fields

This option enables you to specify search/replace fields to be added to the create document dialog. This option should contain a comma separated list of fields where even item are the title of the field and the odd items are the variable names.

These fields will then be search/replaced within the template for example a field called title will search for ${title} and replace that with the contents specified by the user. This can be very useful when you want to setup specific fields like title, keywords and description.

Example of usage in the config.php file

$mcFileManagerConfig['createdoc.fields'] = "title,Document title,keywords,Keywords";

Example of usage in the Web.Config file

<add key="createdoc.fields" value="title,Document title,keywords,Keywords" /> 

Example of usage in a mc_access file

createdoc.fields=title,Document title,keywords,Keywords
Personal tools