I try to change position of language flags from its nominal place to 'Login' position.
I have replaced code in /layouts/default.php:
- Code: Select all
<?php if($this->API->get('login_url', '') != '') : ?>
<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; ?>
to:
- Code: Select all
<jdoc:include type="modules" name="login" style="<?php echo $this->module_styles['login']; ?>" />
and almost all is fine but not arrangement of language selector. It is placed on right side, just left of logo. I would like to place it in the original 'Login' position (right of menu) but i cannot afford it. Where am i wrong? Could you help me with it, please?
Here is my test site with my modification:
http://astor.b13.eu
Regards
Przemek