login register links not showing up

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
Fri Sep 14, 2012 1:14 am
Reply with quote
Report this post
Under the template Features tab theres an option to turn on or off the "Register link".

When its turned on the link doesn't show.

Is there a module position for the login module? or a way to create a popup menu item to the login form similar to other templates by Gavick (penguinmail, boutique)?

In the template layouts folder - the default.php file has the following lines of code that don't seem to load anything.

// defines if com_users
define('GK_COM_USERS', $option == 'com_users' && ($view == 'login' || $view == 'registration'));
// other variables
$btn_login_text = ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT');
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';
User avatar
Fresh Boarder

GK User
Fri Sep 14, 2012 7:03 am
Reply with quote
Report this post
Hi,

This option is a definitely the carry-over after the base code used to create this template, because there is no login/register button and popups. I'll report these code to remove in the next release.
User avatar
Administrator

GK User
Fri Sep 14, 2012 11:32 pm
Reply with quote
Report this post
dziudek wrote:Hi,

This option is a definitely the carry-over after the base code used to create this template, because there is no login/register button and popups. I'll report these code to remove in the next release.



ok - thats a bit odd.

I've tried adding a module position to the right of the menu so that I can have a login module on the header bar.

Followed the steps from the wiki but can't seem to get the module placement on the same line to the right of the top menu (see attached)

the code for the module is

<section id="gkPageTop">
<div id="gkPageNav">
<div>
<?php $this->layout->loadBlock('logo'); ?>
<div id="gkMainMenu">
<?php
$this->mainmenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
<div><?php if($this->API->modules('account')) : ?>
<jdoc:include type="modules" name="account" style="<?php echo $this->module_styles['account']; ?>" />
<?php endif; ?></div>

<div id="gkMobileMenu">
<?php echo JText::_('TPL_GK_LANG_MOBILE_MENU'); ?>
<select onChange="window.location.href=this.value;">
<?php
$this->mobilemenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mobilemenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</select>
</div>
</div>
</div>
</div>
User avatar
Fresh Boarder

GK User
Sat Sep 15, 2012 12:50 pm
Reply with quote
Report this post
Sorry but placing the module position there is a more complex custom work which is beyond our support - it will interferer with the tablet and mobile layout and I don't recommend to place there a module position.
User avatar
Administrator