Jom Comment: Documentation
From AzrulStudio
Contents |
Installation
The Jom Comment package downloaded from the Support Site com_jomcomment_pro.zip for the Professional Edition, and com_jomcomment_std.zip for the Standard Edition.
To install Jom Comment, go to Joomla Administrator -> Installers -> Components. Browse for your Professional or Standard zip file which you have just downloaded and click 'Upload File and Install'
It's that easy!
Configuring Jom Comment
Once Jom Comment is successfully installed, to configure Jom Comment, Goto Joomla Administrator -> Components -> Jom Comment to arrive at the Control Panel.
General Settings
Basic Configuration
Managing Spam
Using Trackback
Customizing Template
Maintenance
Configuring Language File
Re-ordering Display For Read More
- To re-order the display for Read More | Add Comment | Hits you will be required to edit the file components/com_jomcomment/templates/_default/readmore.tpl.html
<?php if($show['hit']): ?>
<div class="show-hit"><a href="<?php echo $link['comment']; ?>">Hits: <?php echo $count['hit'];?> </a></div>
<?php endif; ?>
<?php if($show['comment']): ?>
<div class="show-comment"> <a href="<?php echo $link['comment']; ?>"> _JC_TPL_ADDCOMMENT (<?php echo $count['comment'];?>)</a> </div>
<?php endif; ?>
<?php if($show['readmore']): ?>
<div class="show-linkmore"> <a href="<?php echo $link['readmore']; ?>"> _JC_TPL_READMORE </a> </div>
<?php endif; ?>
The codes above will display the following order: Read More | Add Comment | Hits
- Please be reminded that the bottom codes has higher precedence than the top codes.
Displaying Read More On Managed Sections Only
- For JomComment to only display the Read More on sections which are managed by JomComment, you are required to edit the file components/com_jomcomment/main.jomcomment.php
Add the following codes to main.jomcomment.php around line 304
$categories = explode(",", $_JC_CONFIG->get('categories'));
if(!in_array($row->catid, $categories))
return;
3rd Party Components Integration
Please visit 3rd Party Components Integration Wikipage for more information on integrating Jom Comment with other components.




