By eastkilla on Monday, 10 March 2014
Posted in General Issues
Replies 3
Likes 0
Views 1.4K
Votes 0
Hi all,

I'm using Joomla 3.2.3 and K2 2.6.8. with Komento.

Only registred users can post comments. I chose to display "you need to connect to post comments" message to public. I don't want to dispaly the login form directly because I'm using BT Login.

I want to put a link on the connexion message which is going to open BT login form.

I know how to do this with K2 comments form :
<?php $user = JFactory::getUser(); if ($this->item->params->get('comments') == '2' && $user->guest): ?>
<div><a href="#" class="k2-login-open"> <?php echo JText::_('K2_LOGIN_TO_POST_COMMENTS'); ?></a></div>
<?php endif; ?>


Then I use .k2-login-open as log in tag in BT LOGIN. It works very well.

I would like to do same thing with Komento message "you need to connect to post comments" but I don't know where I can edit it.

Thanks for help.
Hi,

This is in components/com_komento/themes/kuro/comments/form/login.php
·
Monday, 10 March 2014 10:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

thanks, the good file is in components/com_komento/themes/kuro/comments/form.php
·
Monday, 10 March 2014 19:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Eastkilla,

Thanks for the heads up
Glad that your issue now resolved

Have a nice day
Sam
·
Friday, 21 March 2014 12:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post