Login Module Position Styling Reset

Responsive, suitable for any type of business, built for any needs elegant one-page Joomla template.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Dec 31, 2013 3:58 pm
Reply with quote
Report this post
I want to use the module position for a custom HTML one, however everytime it is enabled it still shows the "login" text and bring up the popup when clicked.

Is there anyway to reset the styling just so it is a normal poisiton?

Cheers for any help.
User avatar
Fresh Boarder

teitbite
Tue Dec 31, 2013 4:08 pm
Reply with quote
Report this post
Hi

Unfortunately this is a module position in a popup designed for login or register module. You can replace the button triggering popup with a regular module position. Please edit file /layout/default.php and replace the code:

Code: Select all
                <?php if($this->API->modules('login')) : ?>
                <div id="gkUserArea">
                        <?php if($this->API->modules('login')) : ?>
                        <a href="<?php echo $this->API->get('login_url', 'index.php?option=com_users&view=login'); ?>" id="gkLogin" class="button border"><?php echo ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT'); ?></a>
                        <?php endif; ?>
                </div>
                <?php endif; ?>


to

Code: Select all
<jdoc:include type="modules" name="YOUR_NAME_OF_NEW_MODULE_POSITION" />
User avatar
Moderator

GK User
Tue Dec 31, 2013 5:28 pm
Reply with quote
Report this post
Cheers for the help, just need to get it styling now.
User avatar
Fresh Boarder

teitbite
Wed Jan 01, 2014 8:31 pm
Reply with quote
Report this post
Hi

Exactly. Please show me Your site if You want me to help with that as well.
User avatar
Moderator


cron