Hi all,

So I started looking into using an extension to get a different view.
Much like adding .xml and .json give you different forms of the same
action, it seems like .mobile.html or .mobile would be able to do the
same for a mobile site.

In addition, I figure I'll use routes_in to map anything going to the
mobile domain (m.example.com) to the .mobile extension.

1) Any web2py architecture experts out there with thoughts,
suggestions?
2) .mobile.html doesn't work as an extension because of the extra
period. Is there any danger in updating regex_url in gluon/main.py to
accommodate?

On Feb 15, 4:47 pm, Chris <partyonais...@gmail.com> wrote:
> The view would be different in my case, since I'm using jQuery Mobile.
> Fortunately it's probably OK to have the same controller/actions, at
> least.
>
> On Feb 14, 8:14 pm, howesc <how...@umich.edu> wrote:
>
>
>
>
>
>
>
> > is the view different or just the css?  if just the css put a conditional
> > css include in layout.html and make sure everything extends layout.html.

Reply via email to