hi, im sorry buy my english isnt good,
I have a problem I created an aplication, and it has a mobile and
standar version.
in footer's page , i have two links .. mobile version, standar version
and the user can switch any time the version.
in my app_controller i have this ,. to detect if device is mobile
if ($this->RequestHandler->isMobile()) {
// if device is mobile, change layout to mobile
$this->layout = 'mobile';
}
the question is ...
how can I switch the themes?whith the footer's links??
thank you
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php