Update Configuration.md

This commit is contained in:
tiaitsch85 2013-06-02 17:42:47 +02:00
parent 8acb87d202
commit d958076ebc

View File

@ -21,7 +21,7 @@ The module provides a number of built in configuration settings below are the de
'use_preview' => false, // preview formatted comment (when allowing HTML). Requires include_js=true 'use_preview' => false, // preview formatted comment (when allowing HTML). Requires include_js=true
'use_gravatar' => false, 'use_gravatar' => false,
'gravatar_size' => 80 'gravatar_size' => 80
); ));
If you want to customize any of the configuration options after you have added the extension (or If you want to customize any of the configuration options after you have added the extension (or
on the built-in SiteTree commenting) use `set_config_value` on the built-in SiteTree commenting) use `set_config_value`
@ -59,4 +59,4 @@ Gravatars can be turned on by adding this to your mysite/_config.php file
The default size is 80 pixels, as per the gravatar site if the 's' parameter is omitted. To change this add the following (again to mysite/_config.php): The default size is 80 pixels, as per the gravatar site if the 's' parameter is omitted. To change this add the following (again to mysite/_config.php):
Commenting::set_config_value('SiteTree', 'gravatar_size', 40); Commenting::set_config_value('SiteTree', 'gravatar_size', 40);