Well,
Deeping in the template code i found the solution to the comment title problem.
In file ../gk_startup/html/com_k2/templates/default/item.php i replaced the following CODE:
- Code: Select all
<h3 class="titleComments"> <?php echo JText::_('K2_LEAVE_A_COMMENT') ?> </h3>
<?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)))): ?>
<div class="itemCommentsForm">
<?php echo $this->loadTemplate('comments_form'); ?>
</div>
and replaced it with
CODE:
- 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 class="titleComments"> <?php echo JText::_('K2_LEAVE_A_COMMENT') ?> </h3>
<div class="itemCommentsForm">
<?php echo $this->loadTemplate('comments_form'); ?>
</div>
I just change the position of the "Comment title" from outside to inside of the if statment and it works fine now!
Thanks anyway.
Semedo