Skip to content
  1. Extras
  2. easyComm
  3. Settings

easyComm settings

Main component options are under System Settings, namespace easyComm.

Main settings

ParameterTitleDescription
ec_auto_reply_authorAuto-fill Reply authorIf enabled, the Reply author field in the manager is filled with the current manager's name.
ec_frontend_cssFrontend stylesPath to CSS file used on the frontend. To use your own styles, set your path here or clear and include them in the site template.
ec_frontend_jsFrontend scriptsPath to JavaScript file used on the frontend. To use your own scripts, set your path here or clear and include them in the site template.
ec_show_resourcesShow tab on listed resourcesComma-separated list of resource IDs where the Messages tab is shown. Use * to show on all resources.
ec_show_templatesShow tab on resources with listed templatesComma-separated list of template IDs; the Messages tab is shown on resources with these templates. Works together with the previous setting (tab is shown if either rule allows). Use * for all templates.
ec_message_grid_fieldsMessage list fieldsComma-separated list of fields in the message table in the manager. Default: id, thread, subject, date, user_name, user_email, user_contacts, rating, text, reply_author, reply_text, ip.
ec_message_window_layoutMessage edit window layoutMessage edit window layout in the manager. See "Plugins and customization".
ec_message_grid_filtersMessage list filtersString with filter dropdown data. Example: [["All",""], ["Reviews", "resource-%"], ["Questions", "question-%"], ["Home reviews", "home"]]. Each element is [label, LIKE value for Thread.name]. Labels can be lexicon keys, e.g. _("ec_all_messages"). Default is empty (filter hidden).
ec_thread_grid_fieldsThread list fieldsFields in the thread table in the manager. Default: id, resource, name, title, count, rating_simple, rating_wilson.
ec_thread_window_fieldsThread edit window fieldsFields in the thread edit window. Default: resource, name, title, rating_simple, rating_wilson.
ec_use_rteUse Rich Text Editor for ReplyEnable to reply to users with a visual editor (e.g. TinyMCE).
ec_use_reply_templatesUse reply templatesEnable to create quick-reply templates. Create them under Applications => easyComm. Templates can use message placeholders, e.g. "Hello, {$user_name}! We sent the data to {$user_email}".

Rating settings

ParameterTitleDescription
ec_rating_maxMaximum rating valueUsed to validate user input. On the frontend you must update the code for the max rating. Default: 5.
ec_rating_visual_editorVisual rating display in managerIf enabled, rating is shown graphically in the manager; otherwise as a number.
ec_rating_wilson_confidenceWilson score confidence levelSee this article. Default: 1.6. Examples: 1.6 = 95%, 1.0 = 85%.

Email notification settings

ParameterTitleDescription
ec_mail_fromFrom address for new message notificationsIf empty, system setting emailsender is used
ec_mail_from_nameFrom name for new message notificationsIf empty, system setting site_name is used
ec_mail_managerAdmin email for notificationsWhere new message notifications are sent. If empty, emailsender is used
ec_mail_new_subject_managerSubject of admin new-message notificationOverridable by ecForm parameter newEmailSubjManager
ec_mail_new_subject_userSubject of user "message received" notificationOverridable by ecForm parameter newEmailSubjUser
ec_mail_notify_managerNotify adminsNotify admin of new messages
ec_mail_notify_userNotify usersIf user left email, send them a notification that the message was received
ec_mail_update_subject_userSubject of user "message updated/published" notificationOverridable by ecForm parameter updateEmailSubjUser

Spam protection

To use ReCaptcha v2 register your site: https://developers.google.com/recaptcha/

ParameterTitleDescription
ec_captcha_enableEnable captcha (Google ReCaptcha v2)If enabled, the component uses Google ReCaptcha v2 for spam protection.
ec_recaptcha2_apiGoogle ReCaptcha v2 API urlURL to load the ReCaptcha script. Must include a callback that triggers the captcha render.
ec_recaptcha2_site_keyGoogle ReCaptcha v2 site keyProvided when you register the site
ec_recaptcha2_secret_keyGoogle ReCaptcha v2 secretProvided when you register the site

Gravatar integration

ParameterTitleDescription
ec_gravatar_defaultDefault avatar iconURL of the default avatar.
ec_gravatar_sizeAvatar icon sizeSize in pixels