main menu in the new position

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 Jun 28, 2013 12:43 pm
Reply with quote
Report this post
Hi, it's possible to place the "mainmenu" in the position "header_botton" maintaining the same graphics and structure?
thanks

Gianluca
User avatar
Fresh Boarder

GK User
Fri Jun 28, 2013 1:32 pm
Reply with quote
Report this post
Hi,
yes but you have to made a small customization in template framework.

Check this file: templates/gk_storebox/layouts/default.php

For you interesting part of code is this (which you have to move below):
Code: Select all
<div id="gkHeaderNav"<?php if($this->API->modules('header') > 0) : ?> class="gkAbsoluteHeader"<?php endif; ?>>                       
                <?php if($this->API->get('show_menu', 1)) : ?>
                <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>
                <?php endif; ?>
             
                <?php $this->layout->loadBlock('logo'); ?>
               
                <?php if($this->API->get('show_menu', 1)) : ?>
                <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 endif; ?>
             </div>
User avatar
Platinum Boarder

GK User
Fri Jun 28, 2013 2:49 pm
Reply with quote
Report this post
Thanks very much, of the prompt reply.
I have another question. How can I change in this template in the home in the section of the rectangles blacks and whites the word "more detail" in "more"? In language file of the module "mod_news_pro_gk5" and in the template "storebox" I haven't found a match.
thanks again
Gianluca
User avatar
Fresh Boarder


cron