MCFileManager:Configuration/createdoc.fields
From Moxiecode Documentation Wiki
Contents |
[edit]
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.
[edit]
Example of usage in the config.php file
$mcFileManagerConfig['createdoc.fields'] = "title,Document title,keywords,Keywords";
[edit]
Example of usage in the Web.Config file
<add key="createdoc.fields" value="title,Document title,keywords,Keywords" />
[edit]
Example of usage in a mc_access file
createdoc.fields=title,Document title,keywords,Keywords
