Topic-icon Login / Logout Buttons

Active Subscriptions:

None
9 years 4 weeks ago #52214 by StefanSchoch
Hi there,

again I have some problems with the Login / Logout Buttons.
see this page: stefan-schoch.de/ressourcen2.html
I want the button to look the way like its looking when 'mouseover'.

How t oachieve that?
I already managed to change the color by altering the buttgon-class (I'm using an Artisteer template and want to see the there defined buttons):

<button type="submit" name="Submit" class="btn art-button <?php if (!$showRegisterLinkInLogin)
{
echo 'span12';
} ?>"><?php echo JText::_('MOD_SCLOGIN_LOGIN') ?></button>

Same is true for the logout buttons (see script attached)

Thx!
Stefan
logout.php
The topic has been locked.
Support Specialist
9 years 4 weeks ago #52224 by alzander
Replied by alzander on topic Login / Logout Buttons
The previous post you had on this still seems like it should work:
www.sourcecoast.com/forums/jfbconnect/jf...o-template-s-buttons

Basically, in the /modules/mod_sclogin/tmpl/joomlaLogin_vertical.php file, you'll find the following two blocks:
<button type="submit" name="Submit" class="btn btn-primary <?php if (!$showRegisterLinkInLogin)
and
<a class="btn" href="<?php echo $helper->registerLink; ?>"><?php echo JText::_('MOD_SCLOGIN_REGISTER_FOR_THIS_SITE'); ?></a>
Update those so they look like:
<button type="submit" name="Submit" class="art-button <?php if (!$showRegisterLinkInLogin)
and
<a class="art-button" href="<?php echo $helper->registerLink; ?>"><?php echo JText::_('MOD_SCLOGIN_REGISTER_FOR_THIS_SITE'); ?></a>

To note, you can make these changes permanent by using a template override. However, then, you may run into issues if you upgrade by needing to incorporate any HTML changes we make to those files into your override. It's your choice:
www.sourcecoast.com/sclogin/documentation/themes

I hope that helps, but if not, let us know.

Thanks,
Alex
The topic has been locked.