You could serve up different templates based on different routes in the
system. Have the mobile people go to /mobile and the nonmobile people
go to / and register a separate set of views for each.
Or you could just make your site serve a single set of templates and
rely on "responsive design". Both Twitter Bootstrap and JQuery Mobile
aim to provide something useful on desktops as well as mobile devices.
An example of using JQuery Mobile exists in
http://docs.pylonsproject.org/projects/pyramid_jqm/en/latest/
>
>
> - Theron
>
> --
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/jetDJejrIJcJ.
> To post to this group, send email to pylons-...@googlegroups.com.
> To unsubscribe from this group, send email to pylons-discuss
> +unsub...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
On Mon, 2012-04-16 at 18:38 -0700, Theron Luhn wrote:
> Hello.
>
>
> My client thinks its very important to have a mobile version of their
> website. Do you guys have any recommendations on how to use different
> Chameleon templates for the mobile/desktop website?You could serve up different templates based on different routes in the
system. Have the mobile people go to /mobile and the nonmobile people
go to / and register a separate set of views for each.Or you could just make your site serve a single set of templates and
rely on "responsive design". Both Twitter Bootstrap and JQuery Mobile
aim to provide something useful on desktops as well as mobile devices.
An example of using JQuery Mobile exists in
http://docs.pylonsproject.org/projects/pyramid_jqm/en/latest/
>
>
> - Theron
>
> --
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/jetDJejrIJcJ.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
You're welcome!
> pylons-...@googlegroups.com.
> pylons-...@googlegroups.com.
> > To unsubscribe from this group, send email to pylons-discuss
> > +unsub...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/pylons-discuss?hl=en.
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/uKSD5g6AoToJ.
> To post to this group, send email to pylons-...@googlegroups.com.