moving logo and home menu positions

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 May 08, 2013 5:19 pm
Reply with quote
Report this post
Hello please see attached.

I'd like to move the logo and and home menu positions but cannot see modules that are assigned to there current position.

I'd like to move them to the top 1 or top 2 position below the header.

mattthetrep.com
User avatar
Fresh Boarder

GK User
Wed May 08, 2013 6:36 pm
Reply with quote
Report this post
Would You like to move them under "the moon" image?
User avatar
Moderator

GK User
Thu May 09, 2013 10:24 am
Reply with quote
Report this post
yes please
User avatar
Fresh Boarder

GK User
Thu May 09, 2013 10:37 am
Reply with quote
Report this post
Edit file:
/templates/gk_startup/layouts/default.php

Cut out entire #gkPageTop section that starts in line 68 and ends in line 103, and paste it under #gkHeader section.

The code should change from:
Code: Select all
    <?php if(count($app->getMessageQueue())) : ?>
    <jdoc:include type="message" />
    <?php endif; ?>
   
    <section id="gkPageTop" <?php if($header_nobg): ?> class="nobg"<?php endif; ?>>
       <div class="gkPage">                       
          <?php $this->layout->loadBlock('logo'); ?>
         
          <?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; ?>
         
          <div id="gkUserArea">
             <?php if($this->API->get('register_link') && $userID == 0) : ?>
             <a href="<?php echo $this->API->get('register_url', 'index.php?option=com_users&view=registration'); ?>" id="gkRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
             <?php endif; ?>
             
             <?php if($this->API->modules('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; ?>
          </div>
         
          <?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>
    </section>
   
    <?php if($this->API->modules('header')) : ?>
    <section id="gkHeader"<?php if($header_nobg): ?> class="nobg"<?php endif; ?>>
       <?php if(!$header_nobg): ?>
       <div class="gkPage">
       <?php endif; ?>
          <jdoc:include type="modules" name="header" style="<?php echo $this->module_styles['header']; ?>" />
       <?php if(!$header_nobg): ?>
       </div>
       <?php endif; ?>
    </section>
    <?php endif; ?>

   <div id="gkPageContent" class="gkPage">


to:

Code: Select all
    <?php if(count($app->getMessageQueue())) : ?>
    <jdoc:include type="message" />
    <?php endif; ?>
   
    <?php if($this->API->modules('header')) : ?>
    <section id="gkHeader"<?php if($header_nobg): ?> class="nobg"<?php endif; ?>>
       <?php if(!$header_nobg): ?>
       <div class="gkPage">
       <?php endif; ?>
          <jdoc:include type="modules" name="header" style="<?php echo $this->module_styles['header']; ?>" />
       <?php if(!$header_nobg): ?>
       </div>
       <?php endif; ?>
    </section>
    <?php endif; ?>

   <section id="gkPageTop" <?php if($header_nobg): ?> class="nobg"<?php endif; ?>>
       <div class="gkPage">                       
          <?php $this->layout->loadBlock('logo'); ?>
         
          <?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; ?>
         
          <div id="gkUserArea">
             <?php if($this->API->get('register_link') && $userID == 0) : ?>
             <a href="<?php echo $this->API->get('register_url', 'index.php?option=com_users&view=registration'); ?>" id="gkRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
             <?php endif; ?>
             
             <?php if($this->API->modules('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; ?>
          </div>
         
          <?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>
    </section>

   <div id="gkPageContent" class="gkPage">
User avatar
Moderator

GK User
Thu May 09, 2013 8:01 pm
Reply with quote
Report this post
Thanks for the response, i followed the instructions best i could but cannot see any changes on the page
User avatar
Fresh Boarder

GK User
Thu May 09, 2013 10:25 pm
Reply with quote
Report this post
Please send me PM with FTP host, login and password, I'll check what is wrong and write what is wrong ;)
User avatar
Moderator

GK User
Tue May 14, 2013 12:16 pm
Reply with quote
Report this post
File changed.
There was a typo in my previous post, the file to edit should be:
/templates/gk_startup/layouts/default.php
User avatar
Moderator


cron