Sorry Michal, try again, I disable that account when not in use
Hi, Zurkster.
You disabled login area... that disables whole frontpage-guest header... I enabled it and now your module is displayed.
Thank you Michal, I'm sure I would have finally got it figured.... but it's all too easy to overlook something rather small and seemingly insignificant.
Actually there in itself is another problem, we do not want the login oiption showing as we already have the socialise v2 toolbar with login and register. We need to be able to bypass all aspects of the default login process on the frontpage in favour of JUST the toolbar.
Hi, Zurkster.
This could be done. Today my shift is about to end so I'll provide you with solution tomorrow.
Hi, Zurkster.
If you want to remove login fields only, please, remove this code:
<form class="joms-form joms-js-form--login" action="<?php echo CRoute::getURI(); ?>" method="post" name="login" id="form-login">
<div class="joms-input--append">
<svg viewBox="0 0 16 16" class="joms-icon">
<use xlink:href="<?php echo CRoute::getURI(); ?>#joms-icon-user"></use>
</svg>
<input class="joms-input" type="text" placeholder="<?php echo JText::_('COM_COMMUNITY_USERNAME'); ?>"
name="username" autocapitalize="off">
</div>
<div class="joms-input--append">
<svg viewBox="0 0 16 16" class="joms-icon">
<use xlink:href="<?php echo CRoute::getURI(); ?>#joms-icon-key"></use>
</svg>
<input class="joms-input" type="password"
placeholder="<?php echo JText::_('COM_COMMUNITY_PASSWORD'); ?>" name="password" autocapitalize="off">
</div>
<button class="joms-button--login"><?php echo JText::_('COM_COMMUNITY_LOGIN') ?></button>
<?php if (JPluginHelper::isEnabled('system', 'remember')) : ?>
<div class="joms-checkbox">
<input type="checkbox" value="yes" id="remember" name="remember">
<span><?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?></span>
</div>
<?php endif; ?>
<a href="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&view=remind'); ?>"><?php echo JText::_('COM_COMMUNITY_FORGOT_USERNAME_LOGIN'); ?></a>
<a href="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&view=reset'); ?>"
tabindex="6"><?php echo JText::_('COM_COMMUNITY_FORGOT_PASSWORD_LOGIN'); ?></a>
<?php if ($useractivation) { ?>
<a href="<?php echo CRoute::_('index.php?option=com_community&view=register&task=activation'); ?>"
class="login-forgot-username"><?php echo JText::_('COM_COMMUNITY_RESEND_ACTIVATION_CODE'); ?></a>
<?php } ?>
<input type="hidden" name="option" value="<?php echo COM_USER_NAME; ?>"/>
<input type="hidden" name="task" value="<?php echo COM_USER_TAKS_LOGIN; ?>"/>
<input type="hidden" name="return" value="<?php echo $return; ?>"/>
<div class="joms-js--token"><?php echo JHTML::_('form.token'); ?></div>
</form>
<script>
joms.onStart(function( $ ) {
$('.joms-js-form--login').on( 'submit', function( e ) {
e.preventDefault();
e.stopPropagation();
joms.ajax({
func: 'system,ajaxGetLoginFormToken',
data: [],
callback: function( json ) {
var form = $('.joms-js-form--login');
if ( json.token ) {
form.find('.joms-js--token input').prop('name', json.token);
}
form.off('submit').submit();
}
});
});
});
</script>
<?php echo $fbHtml; ?>
<?php $this->renderModules('my_frontpage_module'); ?>
<div class="joms-landing <?php if (!$settings['general']['enable-frontpage-image']) echo "no-image"; ?>">
<div class="joms-landing__cover">
<?php if (isset($settings) && $settings['general']['enable-frontpage-image']) { ?>
<div class="joms-landing__image" style="background:url(<?php echo $heroImage; ?>) no-repeat center center;">
</div>
<?php } ?>
<div class="joms-landing__content">
<div class="joms-landing__text">
<h2><?php echo JText::_('COM_COMMUNITY_GET_CONNECTED_TITLE'); ?></h2>
<?php if (isset($settings) && $settings['general']['enable-frontpage-paragraph']) { ?>
<p><?php echo JText::_('COM_COMMUNITY_HERO_PARAGRAPH'); ?></p>
<?php } ?>
</div>
<?php if ($allowUserRegister) : ?>
<div class="joms-landing__signup">
<button class="joms-button--signup"
onclick="location.href='<?php echo CRoute::_('index.php?option=com_community&view=register', false); ?>'">
<svg viewBox="0 0 16 16" class="joms-icon joms-icon--white">
<use xlink:href="<?php echo CRoute::getURI(); ?>#joms-icon-signup"></use>
</svg>
<?php echo JText::_('COM_COMMUNITY_JOIN_US_NOW'); ?></button>
</div>
<?php endif; ?>
</div>
</div>
<div class="joms-landing__action">
<form class="joms-form joms-js-form--login" action="<?php echo CRoute::getURI(); ?>" method="post" name="login" id="form-login">
<div class="joms-input--append">
<svg viewBox="0 0 16 16" class="joms-icon">
<use xlink:href="<?php echo CRoute::getURI(); ?>#joms-icon-user"></use>
</svg>
<input class="joms-input" type="text" placeholder="<?php echo JText::_('COM_COMMUNITY_USERNAME'); ?>"
name="username" autocapitalize="off">
</div>
<div class="joms-input--append">
<svg viewBox="0 0 16 16" class="joms-icon">
<use xlink:href="<?php echo CRoute::getURI(); ?>#joms-icon-key"></use>
</svg>
<input class="joms-input" type="password"
placeholder="<?php echo JText::_('COM_COMMUNITY_PASSWORD'); ?>" name="password" autocapitalize="off">
</div>
<button class="joms-button--login"><?php echo JText::_('COM_COMMUNITY_LOGIN') ?></button>
<?php if (JPluginHelper::isEnabled('system', 'remember')) : ?>
<div class="joms-checkbox">
<input type="checkbox" value="yes" id="remember" name="remember">
<span><?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?></span>
</div>
<?php endif; ?>
<a href="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&view=remind'); ?>"><?php echo JText::_('COM_COMMUNITY_FORGOT_USERNAME_LOGIN'); ?></a>
<a href="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&view=reset'); ?>"
tabindex="6"><?php echo JText::_('COM_COMMUNITY_FORGOT_PASSWORD_LOGIN'); ?></a>
<?php if ($useractivation) { ?>
<a href="<?php echo CRoute::_('index.php?option=com_community&view=register&task=activation'); ?>"
class="login-forgot-username"><?php echo JText::_('COM_COMMUNITY_RESEND_ACTIVATION_CODE'); ?></a>
<?php } ?>
<input type="hidden" name="option" value="<?php echo COM_USER_NAME; ?>"/>
<input type="hidden" name="task" value="<?php echo COM_USER_TAKS_LOGIN; ?>"/>
<input type="hidden" name="return" value="<?php echo $return; ?>"/>
<div class="joms-js--token"><?php echo JHTML::_('form.token'); ?></div>
</form>
<script>
joms.onStart(function( $ ) {
$('.joms-js-form--login').on( 'submit', function( e ) {
e.preventDefault();
e.stopPropagation();
joms.ajax({
func: 'system,ajaxGetLoginFormToken',
data: [],
callback: function( json ) {
var form = $('.joms-js-form--login');
if ( json.token ) {
form.find('.joms-js--token input').prop('name', json.token);
}
form.off('submit').submit();
}
});
});
});
</script>
<?php echo $fbHtml; ?>
</div>
</div>
guaranteed installment loans for bad credit <a href=" installmentloans.bid ">need a loan asap</a> installment loans no credit <a href=http://installmentloans.bid>installment loans for bad credit</a>