List and Submit Comments

Comments gives you the ability to display, in a module, a comments submission form as well as a list of all the published comments made for Joomla articles and other supported content (like JXtended Magazine articles).

Please Note: You generally do not need to add this module.  It is included by the Content - Comments plugin.  Most adjustments can be made in this plugin.  If you need to add this module by hand, add a new module.  Select Comments - Comment from the list of modules.

Module Options

This module has the following options available:

  • Limit - The number of comments to display.
  • Comment Ordering - The order in which to display the published comments.
  • Auto-Detect Thread - Automatically detect the thread for the content being displayed.

Advanded Options

  • Cache - Optionally select whether to cache the output of this module.
  • Cache Time - The time, in minutes, before the module output is refreshed.

For assistance with creating and maintaining Joomla modules, see the official Joomla documentation:

Customization

This page may be customized using the Joomla layout override system.  You need to be able to create new files and edit them on your web hosting site using FTP or other tools that are available to you (contact your web host if you need more information).

All file paths are relative to the directory in which Joomla is installed.  When looking a files you need to create, it is assumed that you will create the necessary folders if they don't already exist in each case.  The directory default_template refers to the template that is set as the default for your site.  Please replace this name with the actual name of the template directory.

To create the layout override for this page, find the file:

/modules/mod_comments_comment/tmpl/default.php
/modules/mod_comments_comment/tmpl/default_comment.php
/modules/mod_comments_comment/tmpl/default_trackback.php
/modules/mod_comments_comment/tmpl/form.php

Copy one or more of these respectively to:

/templates/default_template/html/mod_comments_comment/default.php
/templates/default_template/html/mod_comments_comment/default_comment.php
/templates/default_template/html/mod_comments_comment/default_trackback.php
/templates/default_template/html/mod_comments_comment/form.php

Make the desired adjustments to the source code to the new file you created and then save it.  Your changes should be reflected when you refresh the appropriate page.

If you want to change the way the comment submission form looks, you need to create a layout override of form.php.

If you want to change the way the visitor comment looks, you need to create a layout override of default_comment.php.

For more information on layout overrides, see http://www.theartofjoomla.com/topics/layout-overrides.html