How to edit (Sign in | Become a Member) in header

Create an ecommerce website in few minutes with this amazing Joomla ecommerce VirtueMart template.
GK User
Mon Sep 16, 2013 2:10 pm
Hello,

how/where can I edit (Sign in | Become a Member) in the header?
It's not part of the TopNav and I couldn't find a module. Is it embedded in the template file?

Best,

Marcel
User avatar
Fresh Boarder

GK User
Mon Sep 16, 2013 5:48 pm
Hi,

It is placed in the template language file as:

Code: Select all
TPL_GK_LANG_LOGIN="Sign In"


and:

Code: Select all
TPL_GK_LANG_REGISTER="Become a member"
User avatar
Administrator

GK User
Thu Oct 03, 2013 7:25 pm
hey i have 3 easy questions related to this:
what is the path to the template language file you're referencing?
what is the name of the language file you're referencing?
how do we make these link(s) point to the destination of our choosing?
- i am running a campaign site and would like to change that to a link for contributors

Thanks in advance.
User avatar
Fresh Boarder

GK User
Sun Oct 06, 2013 7:42 am
what is the path to the template language file you're referencing?


language/en-GB/en-GB.tpl_gk_boutiqe.ini

what is the name of the language file you're referencing?


en-GB.tpl_gk_boutique.ini

how do we make these link(s) point to the destination of our choosing?


Please open file layouts/blocks/logo.php in the template directory and please change paths in the following fragment:

Code: Select all
<?php if(GK_LOGIN) : ?>
   <a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&amp;view=login" id="btnLogin"><span><?php echo $btn_login_text; ?></span></a>
<?php endif; ?>
         
<?php if(GK_REGISTER) : ?>
   <a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&amp;view=registration" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
<?php endif; ?>
User avatar
Administrator


cron