mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX: Fix rendering of 2 items of example configuration code
This commit is contained in:
parent
332c276174
commit
a7b00fbd7a
@ -71,11 +71,13 @@ If the email address used to comment does not have a gravatar, it is possible to
|
|||||||
* blank: a transparent PNG image (border added to HTML below for demonstration purposes)
|
* blank: a transparent PNG image (border added to HTML below for demonstration purposes)
|
||||||
|
|
||||||
To change the default image style, add the following to mysite/_config.php
|
To change the default image style, add the following to mysite/_config.php
|
||||||
Commenting::set_config_value('SiteTree', 'gravatar_default', 'retro');
|
|
||||||
|
Commenting::set_config_value('SiteTree', 'gravatar_default', 'retro');
|
||||||
|
|
||||||
|
|
||||||
The rating of the image can be changed by adding a line similar to this to mysite/_config.php
|
The rating of the image can be changed by adding a line similar to this to mysite/_config.php
|
||||||
Commenting::set_config_value('SiteTree', 'gravatar_rating', 'r');
|
|
||||||
|
Commenting::set_config_value('SiteTree', 'gravatar_rating', 'r');
|
||||||
|
|
||||||
Vald values for rating are as follows:
|
Vald values for rating are as follows:
|
||||||
* g: suitable for display on all websites with any audience type.
|
* g: suitable for display on all websites with any audience type.
|
||||||
|
Loading…
Reference in New Issue
Block a user