ezcomments.ini settings
Setting |
value |
default value |
Description |
GlobalSettings |
|||
DefaultEnabled |
true/false |
true |
If the commenting is enabled in object attribute by default. |
DefaultShown |
true/false |
true |
If comments are shown by default. |
DefaultEmbededCount |
number |
8 |
Default number of comments shown in content view |
DefaultEmbededSortField |
created, id, etc |
created |
Embedded comment sort field in content view |
EnableNotification |
true/false |
false |
By default if the notification checkbox is checked. If the notification field is hidden, this setting will be invalid. |
DefaultEmbededSortOrder |
asc/desc |
desc |
Embedded comment sort order in content view |
RedirectAfterCommenting |
true/false |
true |
Redirect or not redirect to commented object page or comment list page after the comment succeeds. But if the commenter has click 'notify me of new comment', success page with subscription message will still be shown. |
NotificationSettings |
|||
NotificationManagerClass |
string |
ezcomNotification |
notification manager class, internal use |
NumberPerPage |
number |
8 |
numbers of items shown in one setting page |
SubscriberHashStringLength |
number |
32 |
length of subscriber hash string. Don't change this unless you change the hashstring generating method. |
MailContentType |
text/plain, |
text/html |
Email content type of notification |
MailFrom |
email address |
noreply@ez.no |
The 'from' address of activation/notification email |
ActivationMailContentType |
text/plain, |
text/html |
Email content type of notification |
CommentsInOne |
true/false |
false |
Make all the updated comment in one notification |
DaystoCleanupSubscription |
number |
20 |
Expire day of subscription activation, after which if the subscription has not been activated, it will be deleted. |
CommentSettings |
|||
NumberPerPage |
number |
7 |
Number of comments per page in comment list |
DefaultSortField |
id, |
created |
sort field in comment view |
DefaultSortOrder |
asc/desc |
asc |
sort order in comment view |
SubscriptionActivated |
false |
false |
By default if the subscription is activated, if not, execute the activation process |
ManagerClasses |
|||
CommentManagerClass |
string |
ezcomComment |
internal use |
SubscriberManagerClass |
string |
ezcomSubscription |
internal use |
PermissionClass |
string |
ezcomPermission |
internal use |
AddCommentToolClass |
string |
ezcomAdd |
internal use |
EditCommentToolClass |
string |
ezcomEdit |
internal use |
FormSettings |
|||
FormHandlerClass |
string |
internal use |
|
AvailableFields[ ] |
array |
Fields used in comments. You can delete/add field for your own use. |
|
Field |
|||
Required |
true/false |
if the field is required. If it's required, ezcomments will validate if the field is filled in. |
|
PostVarName |
string |
form variable name, should be unique |
|
AttributeName |
string |
attribute name in ezcomcomment persistent object. 'notificationField' doesn't have 'AttributeName |
|
RecaptchaSettings |
|||
PublicKey |
string |
public key of reCAPTCHA |
|
PrivateKey |
string |
private key of reCAPTCHA |
|
Theme |
red, white, |
custom |
'custom' is used by default, where reCAPTCHA theme is customized by eZ Publish. For more customization, please override template templates/comment/add_comment.tpl |
Language |
en, nl, fr, de, pt, ru, es, tr |
en |
language of reCAPTCHA when the theme is not 'custom'. |
TabIndex |
number |
0 |
tabindex of the field in comment form. |
Andrea Melo (15/01/2013 2:33 pm)
Andrea Melo (22/01/2013 2:31 pm)
Comments
There are no comments.