[null, {"document_url": "https://www.joomlart.com/documentation/wiki-ja-comment/how-to", "unformatted_src": "//static.joomlart.com/images/wiki/c/cb/Support-component.png", "src": "http://static.joomlart.com/images/wiki/c/cb/Support-component.png", "formatted_filename": "Support component", "alt_text": "image:Support-component.png", "rendered_width": 895, "rendered_height": 423}, null, null, null, null, null, null, null, null, null, null, null, null, {"document_url": "https://www.joomlart.com/documentation/wiki-ja-comment/how-to", "unformatted_src": "//static.joomlart.com/images/wiki/3/38/Ja-comment-username-style.png", "src": "http://static.joomlart.com/images/wiki/3/38/Ja-comment-username-style.png", "formatted_filename": "Ja comment username style", "alt_text": "image:Ja-comment-username-style.png", "rendered_width": 437, "rendered_height": 183}, null, {"document_url": "https://www.joomlart.com/documentation/wiki-ja-comment/how-to", "unformatted_src": "//static.joomlart.com/images/wiki/f/fd/Ja-comment-time-stamp.png", "src": "http://static.joomlart.com/images/wiki/f/fd/Ja-comment-time-stamp.png", "formatted_filename": "Ja comment time stamp", "alt_text": "image:Ja-comment-time-stamp.png", "rendered_width": 444, "rendered_height": 73}, null, {"document_url": "https://www.joomlart.com/documentation/wiki-ja-comment/how-to", "unformatted_src": "//static.joomlart.com/images/wiki/0/00/Ja-comment-content.png", "src": "http://static.joomlart.com/images/wiki/0/00/Ja-comment-content.png", "formatted_filename": "Ja comment content", "alt_text": "image:Ja-comment-content.png", "rendered_width": 323, "rendered_height": 287}, null]

JA Comment - Joomla component for Joomla 2.5 and Joomla 3 documentation

In this section, you are going to learn how to customize the language and the e-mail templates of the JA Comment component.

Enable JA Comment plugin for Components

JA comment is supported to enable in Joomla Content, K2 component, Easy Blog component, Joom Blog component.
To enable JA Comment for Components, firstly, ensure that you have installed all necessary JA Comment Extensions (Required: JA comment component, JA Comment System Plugin. Optional: JA CommentON/OFF plugin). Navigate to the configuration panel of JA Comment System Plugin (from backend, navigate to: Extensions --> Plugin Manager --> Content - JA Comment) then configure whether to enable JA Comment. Note: JA Comment Avatar now supports K2 Avatar and AlphaUserPoint (It already supports avatar of Joomsocial, Easy Blog, Community builder, kunena, gravatar). To configure the avatar displaying, access the backend of JA Comment Component (from backend, navigate to: Components --> JA Comment)then go to: Layout & Plugins under the Settings section in the left menu. Note: As you can see in the image above, there is no AlphaUserPoint and Joomsocial avatar to config, it is not a error, it is because the 2 component is not installed in your site.

Customizing language

In order to be able to customize the JA Comment language into your own, first you have to make sure you have installed the Language Pack for your language for Joomla! CMS. For new languages installed for the CMS, JA Comment will automatically create the language files for your new language based on the English default language files.

For instance we have installed Vietnamese language pack for Joomla! 1.5 and JA Comment automatically created the language files for Vietnamese. Your files should be located in:

JA Comment comes with a built-in code editor you can use for language customization, but when you update the component, you have to back-up your language files, and check with new ones from English pack to make sure you have all strings. To easily find any changes, you use a WinMerge or any file/folder compare solution available.

Now we are going to show you how to customize the new language files.

Frontend Language

To customize the newly created language files for frontend, please go to JA Comment administration panel and follow these instructions: ..now the component will open the language in the internal built in code editor, so: Admin Language

To customize the administrator language file, please follow these steps: then follow steps 3 and 4 described in the chapter above.

Customizing e-mail templates

A powerful new feature coming with JA Comment is the e-mailing system. For any of your users' action, they will receive an e-mail:

Also, notify admin/moderator when:

The e-mail templates panel

In the image below you can see the e-mail templates we have listed above. They are split in two categories: specific content and common content (header and footer). Editing e-mail templates

Next we are going to show you how to edit the e-mail templates. Please follow the steps bellow the next image: Multilanguage e-mails

If your website is multilanguage, and you have installed additional languages in your website, JA Comment allows you to customize the e-mails for all your installed languages. The templates for English language are used as default templates for all new template sets for each of your languages.
So for instance we want to customize the Vietnamese template set, but this one does not exist initially. In the images below we will explain how to create the templates set for Vietnamese language. To customize the Vietnamese language set of templates, please follow these steps descibed in the images bellow: Please note: just like customizing the language files for the component itself, you must have installed the language pack for Joomla! CMS in order to edit the Vietnamese language e-mail template set.

Please note: if you don't customize them all, for the missing templates (not customized for Vietnamese) will be used those from English templates set. If a template is unpublished for all languages, JA Comment will not send an e-mail for that instance. Customizing Comment Themes

JA Comment Component comes with a powerful built in themes system that allows using multiple color themes your T3 Framework based template or any other template may use. You can create multiple color themes inside front-end folders of the component, but template overrides provide more value because of the complete design override coming with all T3 Framework templates.
Themes apply mostly to comments but also to the comment form. The files you can use to create template overrides are located in your-site-root/components/com_jacomment/themes/your_theme_name/html split into two folders:

Creating themes

To create your own JA Comment Component theme with template overrides, please follow these steps:

At the end, based on the default theme files, your theme file&folder structure in your Joomla! template override should look like this:

Theme Switch

If you have created more themes for the comment system, just like the Joomla! template color theme switch, you can also use theme switcher for JA Comment Component. For instance JA Ores uses multiple color themes, and features JA Comment Component theme switch. Hover these links and follow to see how this works:

So you can add menu items with ?ja_comment_theme=your_theme_name to let front-end users switch to their favorite themes for the comment system.


You can customize the comment system design using the newly created style.css file of the new your_theme_name you have created out of the default one. Below you will find a list of elements you can customize for the comment form and comments listings.
The comment form You can change the font used in the captcha here but remember to use a TTF (True Type Font). To customize what tools (buttons) to be displayed in the editor, you can check this documentation section.

The comments lists Comment area
You can customize the comment area by modifying the code from style.css lines 674 to 706 (all marked inside the commented /* COMMENT LIST ---*/ code area).

User Avatar You can customize the user avatar size in component back-end, find in this documentation section how. Styling can be customized in this code (default css file): You can change the user name style to match your template here: Time stamp or date added
This element has no special styling, but you can customize it anytime. Just use this call and: Comment ranking and quality
All code commented with /* COMMENT REPORT --- */, lines 884 to 927 manage the styling for the Flag Comment feature. You can change image by replacing it and set new sizes in the CSS code for it, change position or anything you like.
Next, the Comment vote feature is styled in lines commented with /* COMMENT RANKING --- */, lines 822 to 881.

Comment content
You can style anything you want to the styling of the content of the comment. Just check this code and change it your way: Quote link
Everything related to quote link is managed by the code inside /* COMMENT ACTIONS ---*/ comment, lines 1036 to 1073.

Reply link
To style the reply link check the code inside /* REPLY ACTION */ comment, lines 1076 to 1079. By default this button will inherit styling for buttons from your website, but you can add your own styling changing this code.

Show/hide minimized replies
Lines 1083 to 1135 manage the Show/hide the minimized replies.

How to enable/disable JA Comment for specific content items
