
easyComm settings
Main component options are under System Settings, namespace easyComm.
Main settings
| Parameter | Title | Description |
|---|---|---|
| ec_auto_reply_author | Auto-fill Reply author | If enabled, the Reply author field in the manager is filled with the current manager's name. |
| ec_frontend_css | Frontend styles | Path 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_js | Frontend scripts | Path 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_resources | Show tab on listed resources | Comma-separated list of resource IDs where the Messages tab is shown. Use * to show on all resources. |
| ec_show_templates | Show tab on resources with listed templates | Comma-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_fields | Message list fields | Comma-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_layout | Message edit window layout | Message edit window layout in the manager. See "Plugins and customization". |
| ec_message_grid_filters | Message list filters | String 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_fields | Thread list fields | Fields in the thread table in the manager. Default: id, resource, name, title, count, rating_simple, rating_wilson. |
| ec_thread_window_fields | Thread edit window fields | Fields in the thread edit window. Default: resource, name, title, rating_simple, rating_wilson. |
| ec_use_rte | Use Rich Text Editor for Reply | Enable to reply to users with a visual editor (e.g. TinyMCE). |
| ec_use_reply_templates | Use reply templates | Enable 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
| Parameter | Title | Description |
|---|---|---|
| ec_rating_max | Maximum rating value | Used to validate user input. On the frontend you must update the code for the max rating. Default: 5. |
| ec_rating_visual_editor | Visual rating display in manager | If enabled, rating is shown graphically in the manager; otherwise as a number. |
| ec_rating_wilson_confidence | Wilson score confidence level | See this article. Default: 1.6. Examples: 1.6 = 95%, 1.0 = 85%. |
Email notification settings
| Parameter | Title | Description |
|---|---|---|
| ec_mail_from | From address for new message notifications | If empty, system setting emailsender is used |
| ec_mail_from_name | From name for new message notifications | If empty, system setting site_name is used |
| ec_mail_manager | Admin email for notifications | Where new message notifications are sent. If empty, emailsender is used |
| ec_mail_new_subject_manager | Subject of admin new-message notification | Overridable by ecForm parameter newEmailSubjManager |
| ec_mail_new_subject_user | Subject of user "message received" notification | Overridable by ecForm parameter newEmailSubjUser |
| ec_mail_notify_manager | Notify admins | Notify admin of new messages |
| ec_mail_notify_user | Notify users | If user left email, send them a notification that the message was received |
| ec_mail_update_subject_user | Subject of user "message updated/published" notification | Overridable by ecForm parameter updateEmailSubjUser |
Spam protection
To use ReCaptcha v2 register your site: https://developers.google.com/recaptcha/
| Parameter | Title | Description |
|---|---|---|
| ec_captcha_enable | Enable captcha (Google ReCaptcha v2) | If enabled, the component uses Google ReCaptcha v2 for spam protection. |
| ec_recaptcha2_api | Google ReCaptcha v2 API url | URL to load the ReCaptcha script. Must include a callback that triggers the captcha render. |
| ec_recaptcha2_site_key | Google ReCaptcha v2 site key | Provided when you register the site |
| ec_recaptcha2_secret_key | Google ReCaptcha v2 secret | Provided when you register the site |
Gravatar integration
| Parameter | Title | Description |
|---|---|---|
| ec_gravatar_default | Default avatar icon | URL of the default avatar. |
| ec_gravatar_size | Avatar icon size | Size in pixels |
