Hi All, We have found a little bug in this function. Should use the following line : if request.env.http_accept and request.env.http_accept.find('text/ vnd.wap.wml')>=0: instead: if request.env.http_accept and request.env.http_accept.find('text/ vnd.wap.wml'):
Cheers. On Jan 28, 9:25 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > LOL. I do not know it is time stamped as 2009-07-11. I do not remember > why I wrote it. Somebody must have asked for it in the past. > > On Jan 28, 10:53 am, Thadeus Burgess <thade...@thadeusb.com> wrote: > > > > > > > wow Massimo where did that one creep out of the depths from! > > > Lol I never knew :) > > > -Thadeus > > > On Thu, Jan 28, 2010 at 9:27 AM, tiago almeida > > > <tiago.b.alme...@gmail.com> wrote: > > > Great! I missed that one. > > > > Thank you very much, > > > Tiago > > > ----- > > > On Thu, Jan 28, 2010 at 3:15 PM, mdipierro <mdipie...@cs.depaul.edu> > > > wrote: > > > >>http://www.web2py.com/examples/static/mobile_device_detect.py > > > >> On Jan 28, 6:01 am, tiago almeida <tiago.b.alme...@gmail.com> wrote: > > >> > Hello, > > >> > does web2py have any mechanism for dealing withmobiledevices? I'm > > >> > talking > > >> > about *determining if the user is on amobiledevice* so that pages can > > >> > be > > >> > tailored for those screens. > > > >> > I've searched in the book and in web2pyslices and don't see anything > > >> > like > > >> > that. > > > >> > Thanks a lot in advance, > > >> > Tiago Almeida > > > >> -- > > >> You received this message because you are subscribed to the Google Groups > > >> "web2py-users" group. > > >> To post to this group, send email to web...@googlegroups.com. > > >> To unsubscribe from this group, send email to > > >> web2py+unsubscr...@googlegroups.com. > > >> For more options, visit this group at > > >>http://groups.google.com/group/web2py?hl=en. > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "web2py-users" group. > > > To post to this group, send email to web...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > web2py+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.