Desktop And Mobile User Interface

I have developed web application using YII php framework, it’s currently running in server. My client expecting same application to view in mobile also. Because almost users are now watching in mobile device. Whether i have to create new theme and user page view or i can use some other method. Please help any one.

I think you need to do it in the CSS. Google for "responsive design" which does something like this:

    /* Mobile Portrait */

    @media only screen and (max-width: 767px) 

    /* Mobile Landscape */

    @media only screen and (min-width: 480px) and (max-width: 767px) 

You can also try using TwitterBootstrap or Foundation. Has extensions with both options

[size="3"]Hi I think you can create the module and layout from mobile so when site is run on device you can change the layout and theme.

so first you can defined the main controller using this extension.

I hope it’s some help.