Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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
EmailManager

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

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

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.
-1 means never cleaning up. Formats like 0.5(12 hours)/0.25(6 hours) are possible

CommentSettings

     

NumberPerPage

number

7

Number of comments per page in comment list

DefaultSortField

id,
created,
modified,
etc

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
CommonManager

internal use

SubscriberManagerClass

string

ezcomSubscription
CommonManager

internal use

PermissionClass

string

ezcomPermission

internal use

AddCommentToolClass

string

ezcomAdd
CommentTool

internal use

EditCommentToolClass

string

ezcomEdit
CommentTool

internal use

FormSettings

     

FormHandlerClass

string

 

internal use

AvailableFields[ ]

array

 

Fields used in comments. You can delete/add field for your own use.
Note:
1) comment can not be deleted.
2) If email is deleted and notificationField is kept, anonymous user can not get notification.

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,
black, glass,
clean, custom

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 (03/05/2012 4:07 pm)

Andrea Melo (03/05/2012 4:07 pm)


Comments

There are no comments.