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?