Remove / Edit the login module in userarea

Professional eCommerce VirtueMart Joomla template with responsive design discussion forum.
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
Wed Dec 18, 2013 7:24 am
Reply with quote
Report this post
Where do I edit or remove the module? - Welcome visitor you can log in or create an account
User avatar
Expert Boarder

teitbite
Wed Dec 18, 2013 10:36 am
Reply with quote
Report this post
Hi

Please try unpublish module placed in login and register module positions.
User avatar
Moderator

GK User
Wed Dec 18, 2013 11:39 am
Reply with quote
Report this post
Did that, but no change?
User avatar
Expert Boarder

teitbite
Thu Dec 19, 2013 12:42 pm
Reply with quote
Report this post
Hi

Ok, now I see. This part is not in the same condition as login and register buttons. Please edit file /layout/default.php and remove this code:

Code: Select all
               <?php if(
                  $this->API->get('login_url', '') != '' ||
                  ($this->API->get('reg_url', '') != '' && $userID == 0)
               ) : ?>
               <div id="gkUserArea">
                     <?php echo JText::_('TPL_GK_LANG_USERAREA'); ?>
                     <?php if($userID == 0) : ?>
                        <?php echo JText::_('TPL_GK_LANG_USERAREA_VISITOR'); ?>
                     <?php else : ?>
                        <strong><?php echo $user->get('username'); ?></strong>
                     <?php endif; ?>

                  <?php echo JText::_('TPL_GK_LANG_LOGIN_PRE'); ?>

                   <?php if($this->API->get('login_url', 'index.php?option=com_users&view=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'); ?></a>
                   <?php endif; ?>
                  
                   <?php if($this->API->get('reg_url', 'index.php?option=com_users&view=registration') != '' && $userID == 0) : ?>
                      <?php echo JText::_('TPL_GK_LANG_REGISTER_PRE'); ?>
                      <a href="<?php echo $this->API->get('reg_url', 'index.php?option=com_users&view=registration'); ?>"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
                   <?php endif; ?>
                </div>
                <?php endif; ?>
User avatar
Moderator

GK User
Thu Dec 19, 2013 7:07 pm
Reply with quote
Report this post
Works, thanks!
User avatar
Expert Boarder

teitbite
Fri Dec 20, 2013 11:55 am
Reply with quote
Report this post
Hi

No problem. Glad I could help :)
User avatar
Moderator

GK User
Thu Jan 16, 2014 1:38 am
Reply with quote
Report this post
Hi,
I was wondering id there is a wat to edit the text?
I already tried language overrides but can't find it there.

Marc
User avatar
Fresh Boarder

teitbite
Sat Jan 18, 2014 3:57 am
Reply with quote
Report this post
Hi

The file with text is /language/en-GB/en-GB.tpl_gk_instyle.ini
User avatar
Moderator


cron