Remove Mobile Version

GK User
Fri Jun 15, 2012 2:17 am
We would like to disable or remove the mobile version so that only the whole site is viewable on a device.

We have tried changing

Code: Select all
if ($this->browser->get('mobile')) {
               $this->getLayout('mobile');
           } else {   
              if ($this->browser->get('browser') == 'facebook') { // facebook mode
                   $this->getLayout('facebook');
               } else { // normal mode
                   $this->getLayout('normal');
               }
           }



To this:

Code: Select all
if ($this->browser->get('browser') == 'facebook') { // facebook mode
                   $this->getLayout('facebook');
               } else { // normal mode
                   $this->getLayout('normal');
               }


But when we do, the menu does not work... any ideas?
User avatar
Senior Boarder

GK User
Fri Jun 15, 2012 9:32 am
You can chose which layout to show to which device under template settings.

See you around...
User avatar
Platinum Boarder


cron