Move the Social Buttons?

GK User
Fri Jan 06, 2012 9:16 am
Hey there,

Currently we are working on a new website called: http://www.trainingsbon.nl
Now everything worked out pretty good, however we were wondering how we can move the Twitter/Facebook logo`s from the search module upto the banner1 module.

We`ve tried to search for a social module but we couldnt find those. In the features options from the template we tried the overrule about the social thingies up to banner1, but the only thing which happened was a bigger gab under the text:
Code: Select all
 Banner Ruimte TE HUUR informeer bij ...


Has somebody succesfully moved those 2 buttons? Or does anyone have an idea about how to do this? Please let us know!

With kind Regards,
User avatar
Senior Boarder

GK User
Fri Jan 06, 2012 10:44 am
Hi,

You can try this:

- Open file: \templates\gk_appsite\layouts\default.php

- Find this code:
Code: Select all
<div id="middleWrap" class="gkWrap">
            <?php if($this->getParam('socialIcons' , '')) : ?>
      <div id="gkSocialIcons">
         <?php if($this->getParam('socialIcons1', '')) : ?>   
         <a href="<?php echo $this->getParam('socialIcons1url', '', true); ?>" id="gkIconsFacebook" target="_blank"><?php echo $this->getParam('socialIcons1text', ''); ?></a>
         <?php endif; ?>
         <?php if($this->getParam('socialIcons2', '')) : ?>   
         <a href="<?php echo $this->getParam('socialIcons2url', '', true); ?>" id="gkIconsVimeo" target="_blank"><?php echo $this->getParam('socialIcons2text', ''); ?></a>
         <?php endif; ?>
         <?php if($this->getParam('socialIcons3', '')) : ?>   
         <a href="<?php echo $this->getParam('socialIcons3url', '', true); ?>" id="gkIconsTwitter" target="_blank"><?php echo $this->getParam('socialIcons3text' , ''); ?></a>
         <?php endif; ?>
      </div>
      <?php endif; ?>
            <?php if( $this->modules('search') ): ?>
                <div id="gkSearch">
                  <jdoc:include type="modules" name="search" style="<?php echo $this->module_styles['search']; ?>" />
              </div>
            <?php endif; ?>
    </div>


Move/Cut it to before:
Code: Select all
<?php $this->loadBlock('nav'); ?>
User avatar
Platinum Boarder


cron