Removing Mobile template! Help!

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Mon Mar 18, 2013 3:31 pm
As I asked before, my readers are experiencing mobile layouts on desktops. I really want to rid off this mobile template from my website. Please help me how to disable or remove the mobile template permanently?
User avatar
Junior Boarder

GK User
Mon Mar 18, 2013 7:46 pm
Hi,
first tip:
Template Manager: Edit Style -> basic settings [tab]
no-mobile.png
User avatar
Platinum Boarder

GK User
Mon Mar 18, 2013 7:49 pm
Second tip:

file: gk_twn2\layouts\default.php

Code: Select all
   <div id="gkPage" class="gkMain gkWrap">
        <?php if(isset($_COOKIE['gkGavernMobile'.$tpl_name]) &&
              $_COOKIE['gkGavernMobile'.$tpl_name] == 'desktop') : ?>
              <div class="mobileSwitch">
            <a href="javascript:setCookie('gkGavernMobile<?php echo $tpl_name; ?>', 'mobile', 365);window.location.reload();"><?php echo JText::_('TPL_GK_LANG_SWITCH_TO_MOBILE'); ?></a>
             </div>
    <?php endif; ?> 


Modify to:
Code: Select all
   <div id="gkPage" class="gkMain gkWrap">
User avatar
Platinum Boarder

GK User
Mon Mar 18, 2013 7:52 pm
Third tip:
1) gk_twn2\layouts\default.php copy to your local disc -> rename to : handheld.php
2) Overwrite file
3) Do this same with : android.php & iphone.php file
User avatar
Platinum Boarder

GK User
Thu Mar 21, 2013 3:16 pm
Thank you!
User avatar
Junior Boarder


cron