Change login by search
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Fri Feb 06, 2015 1:44 pm
- Reply with quote
- Report this post
Hi,
I search to login position but login is up on the front.
I would like change the name positon by search.
My modutl serach is on login position.
http://www.rainet.fr/demo1/
I search to login position but login is up on the front.
I would like change the name positon by search.
My modutl serach is on login position.
http://www.rainet.fr/demo1/
-
- Gold Boarder
- GK User
- Sat Feb 07, 2015 9:45 am
- Reply with quote
- Report this post
Hi,
it won't be so easy for beginners, but you're Gold Member, so...
1) Edit gk_magazine\layouts\default.php
2) Find
Replace with new module position. As you see "login" was added in this way, not in elastic way like on other templates or better template frameworks.
it won't be so easy for beginners, but you're Gold Member, so...
1) Edit gk_magazine\layouts\default.php
2) Find
- Code: Select all
<?php if(($this->API->get('reg_link') == '1' && $userID == 0) || $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"><?php echo ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT'); ?><i class="gk-icon-arrow"></i></a>
<?php endif; ?>
<?php if($this->API->get('reg_link') == '1' && $userID == 0) : ?>
<a href="<?php echo $this->API->get('reg_url', '#'); ?>" id="gkRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?><i class="gk-icon-arrow"></i></a>
<?php endif; ?>
</div>
<?php endif; ?>
Replace with new module position. As you see "login" was added in this way, not in elastic way like on other templates or better template frameworks.
-
- Platinum Boarder
- GK User
- Tue Feb 10, 2015 7:18 pm
- Reply with quote
- Report this post
I'm so sorry Oscar but if i ask this question it's the number of login in this folder..
Thanks for your back
Thanks for your back
-
- Gold Boarder
- GK User
- Tue Feb 10, 2015 11:01 pm
- Reply with quote
- Report this post
In this code was login link and registration link - madness. In modern templates there should be module position not static code. But we have what we had got in past.
Instead this code which I saw you add new module position: https://www.gavick.com/documentation/jo ... e-position
Instead this code which I saw you add new module position: https://www.gavick.com/documentation/jo ... e-position
-
- Platinum Boarder
- GK User
- Wed Feb 11, 2015 10:33 am
- Reply with quote
- Report this post
It's ok i found it
Thanks
Thanks
-
- Gold Boarder
5 posts
• Page 1 of 1