Disable and Customize Comments

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Aug 16, 2013 7:04 am
Reply with quote
Report this post
Want to know how to disable comments and customize the message below.

Leave a comment
Make sure you enter the (*) required information where indicated. HTML code is not allowed.

http://smilelicious.com/cgt/index.php/our-products/automotive

Thanks!
User avatar
Senior Boarder

GK User
Fri Aug 16, 2013 9:06 am
Reply with quote
Report this post
Please open file template/html/com_k2/templates/default/item.php and there find this part

Code: Select all
<?php if($params->get('commentsFormPosition')=='below' && $params->get('itemComments') && !JRequest::getInt('print') && ($params->get('comments') == '1' || ($params->get('comments') == '2' && K2HelperPermissions::canAddComment($this->item->catid)))): ?>
                  <h3> <?php echo JText::_('K2_LEAVE_A_COMMENT') ?> </h3>
                  <div class="itemCommentsForm">
                           <?php echo $this->loadTemplate('comments_form'); ?>
                  </div>
                  <?php endif; ?>


This is the place where this info is generated and comments area.
User avatar
Platinum Boarder


cron