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

 

Embedded comment sort order in content view

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

Geir Arne Waaler (17/06/2010 11:14 am)

Geir Arne Waaler (17/06/2010 11:14 am)


Comments

There are no comments.