By Glencoe Glen on Wednesday, 30 July 2014
Posted in Technical Issues
Replies 3
Likes 0
Views 1K
Votes 0
I have the module option 'Login Option' set to no, yet the module still displays 'Logout' to users who are logged in.

Any idea why it's not listening to the option?
Hello Glencoe,

Those options are only for displaying the "Login" form. If you want to remove the logout, you can edit the theme file in /modules/mod_easydiscuss_welcome/tmpl/default.php and at line 113 remove the codes below,



<li>
<i class="ico"></i><a class="discuss-logout" href="<?php echo JRoute::_('index.php?option='.$userComponent->option.'&task='.$userComponent->logout. '&' . DiscussHelper::getToken() . '=1&return='.$return);?>"><span><?php echo JText::_( 'MOD_EASYDISCUSS_WELCOME_SIGN_OUT' );?></span></a>
</li>
·
Wednesday, 30 July 2014 23:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,
Thanks for the prompt response.

Is there a way to do a proper override for this? I just don't want to overwrite changes when I upgrade.
·
Thursday, 31 July 2014 00:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Glencoe,

I am really sorry but unfortunately we do not have a settings to "hide" the logout button in the module currently.
·
Thursday, 31 July 2014 00:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post