I'm looking at putting together a WEB site that can be viewed as easily with a mobile/cell phone browser as a normal PC type browser. At the moment it seems I have 2 options:
1) switch the layout depending on whether the client is mobile or not (i.e. $this->layout = some_layout) 2) Use the WEBService switch. Problem with 1) is I want to change the content of the mobile WEB page as well as the layout and I don't want to have lots of switches in the controller and view classes. Problem with 2) is that a different URL is required to access the WEB page (e.g. xml/controller/action) and I would really like to keep the same URL for both cases. In CakePHP is it possible to use a single URL, detect the browser type, store the type for example in the session, and then redirect the controller and action, depending on the type, as in the WEBServices options? I hope I have made a little bit of sense here but any help or ideas would be much appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
