By Kymo Biddulph on Friday, 09 June 2017
Posted in General
Likes 0
Views 2.1K
Votes 0
Hi

Just updated Echo template and all the login + register options are available again.

If I just want FB register +log-in - how can I turn it off ?

I think last time I had to get you guy's to edit (JoomlaFolder/templates/echo/html/com_easysocial/helpers/html/login.php)

cheers
kymo
Hi there,

I have applied some fixes on your site. It should works fine now. Please give it a check and see how it goes
·
Friday, 09 June 2017 15:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I have commented out codes below on JoomlaFolder/templates/echo/html/com_easysocial/helpers/html/login.php and it should works as it should now.

<?php if ($showRegistrations) { ?>
<?php if ($this->config->get('registrations.mini.enabled')) { ?>
<form method="post" action="<?php echo JRoute::_('index.php');?>" data-registermini-form>
<div class="echo-register-wrap">

<?php foreach ($fields as $field) { ?>
<?php if ($field->visible_mini_registration) { ?>
<div class="es-register-mini-field" data-registermini-fields-item><?php echo $field->output;?></div>
<?php } ?>
<?php } ?>

<div>
<button class="btn btn-echo-success btn-block t-lg-mt--xl t-text--bold" type="button" data-registermini-submit><?php echo JText::_('COM_EASYSOCIAL_LOGIN_REGISTER_NOW_BUTTON');?></button>
</div>
</div>

<input type="hidden" name="option" value="com_easysocial" />
<input type="hidden" name="controller" value="registration" />
<input type="hidden" name="task" value="miniRegister" />
<?php echo $this->html('form.token');?>
</form>
<?php } else { ?>
<div class="register-link-wrap">
<div class="echo-login-box__msg-title">
<?php echo JText::_('COM_EASYSOCIAL_LOGIN_NO_ACCOUNT');?>
</div>

<div class="echo-login-box__msg-desc"><?php echo JText::_('COM_EASYSOCIAL_LOGIN_REGISTER_NOW');?></div>

<a class="btn btn-echo-primary btn-lg t-lg-mt--md t-text--bold" href="<?php echo ESR::registration();?>">
<?php echo JText::_('COM_EASYSOCIAL_LOGIN_REGISTER_NOW_BUTTON');?>
</a>
</div>
<?php } ?>
<?php } ?>
·
Friday, 09 June 2017 14:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul

Thanx for that - can I also get rid of the other login please.

Only FB - no registration any other way.

cheers
kymo
·
Friday, 09 June 2017 15:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanx very much Abdul

I think I can do the rest with .css and firebug.

cheers
kymo
·
Friday, 09 June 2017 15:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Friday, 09 June 2017 15:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post