By Tony Partridge on Friday, 05 September 2014
Posted in General Issues
Replies 5
Likes 0
Views 788
Votes 0
Hi Guys,

Not every user notices the Login icon. When they click 'Ask Question' Is it possible to show the login box rather than register and have the register as an option on the login page?

Thanks
Tony
Hello Tony,

Sorry for late reply to this,
You can modify this file JoomlaFolder\components\com_easydiscuss\themes\simplistic\searchbar.php

//LINE 64
<a class="btn btn-<?php echo $system->config->get('layout_ask_color'); ?> btn-ask pull-left" href="<?php echo DiscussHelper::getRegistrationLink();?>"><?php echo JText::_( 'COM_EASYDISCUSS_OR_ASK_A_QUESTION' );?></a>

//replace with
<a class="btn btn-<?php echo $system->config->get('layout_ask_color'); ?> btn-ask pull-left" href="<?php echo DiscussHelper::getLoginLink();?>"><?php echo JText::_( 'COM_EASYDISCUSS_OR_ASK_A_QUESTION' );?></a>


Hope this help.
·
Friday, 05 September 2014 15:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Tony,

We are sorry but it is not possible currently. Unless, you have your own login page, so that we can redirect to that URL.
·
Friday, 05 September 2014 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Nik,

This should certainly be an option! But how would I redirect to a different page?

Thanks
Tony
·
Friday, 05 September 2014 14:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok I have done this now with an override. But you really should look at allowing a custom input for ask question if not logged in.

thanks
Tony
·
Wednesday, 10 September 2014 03:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Tony Partridge,

You're welcome, we will consider about this in the future.
·
Wednesday, 10 September 2014 10:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post