remove userarea or replace
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Tue Nov 24, 2015 9:50 pm
- Reply with quote
- Report this post
How to remove "userarea" or change the content with Search?
-
- Fresh Boarder
- GK User
- Wed Nov 25, 2015 1:58 pm
- Reply with quote
- Report this post
templates/gk_magazine/layouts/default.php
-
- Fresh Boarder
- teitbite
- Sat Nov 28, 2015 7:28 pm
- Reply with quote
- Report this post
Hi
Code starts in line 75 and goes like this:
Code starts in line 75 and goes like this:
- 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; ?>
-
- Moderator
3 posts
• Page 1 of 1