you can change your layout right, for themes, i assume you use css file.

why not set the css file to in the script you state before...


On Fri, May 27, 2011 at 2:35 PM, m16u31 <[email protected]> wrote:

> 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
>

-- 
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

Reply via email to