how to move the Style switcher to login possition

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Fri Mar 09, 2012 9:35 am
Hi

I want to move the style switcher to the login possition is this possible? and 2) how to increase the distance between the two-rows titles in the main body (gk4_news module)

thanks
User avatar
Fresh Boarder

GK User
Fri Mar 09, 2012 12:09 pm
Hi,

Open file: \templates\gk_twn2\layouts\blocks\footer.php

Find:
Code: Select all
<?php if($this->getParam('stylearea', '0') == '1') : ?>
            <div id="gkStyleArea">
                  <a href="#" id="gkStyle1">red</a>
                  <a href="#" id="gkStyle2">blue</a>
                  <a href="#" id="gkStyle3">brown</a>
                  <a href="#" id="gkStyle4">green</a>
                  <a href="#" id="gkStyle5">gray</a>
                  <a href="#" id="gkStyle6">pink</a>
            </div>
            <?php endif; ?>

Cut it (Ctrl-X).

- Open file: \templates\gk_twn2\layouts\blocks\logo.php

- Paste above code to after this code:
Code: Select all
<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?>
   <div id="gkButtons">
      <div>
            <?php if(GK_LOGIN) : ?>
         <a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&amp;view=login" id="btnLogin"><span><?php echo $btn_login_text; ?></span></a>
         <?php endif; ?>
         <?php if(GK_REGISTER) : ?>
         <a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&amp;view=registration" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
         <?php endif; ?>
      </div>
   </div>
   <?php endif; ?>

   <?php if($this->modules('highlighter')) : ?>
   <div id="gkHighlighter">
      <jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
   </div>
   <?php endif; ?>   
</div>


I need you to provide a screenshot to understand the 2nd question.

Thanks,
User avatar
Platinum Boarder


cron