Hi there,
I just come across this old post. I solve this problem in a slightly
different way. With all the same *.mobile views ready, I just explicitly
use ".mobile" extension name as my visiting url, such as
http://.../app/controller/action.mobile, therefore I don't need those "if
is_mobile"
Sorry, i sent the message incomplete:
Hi!
I'm using jQueryMobile to make the "mobile skin", and the way that i do
is this:
if is_mobile and request.extension == "html" :
#Its mobile
response.view = "%s/%s.%s" % (request.controller,
request.function, "mobile")
Hi!
I'm using jQueryMobile to make the "mobile skin", and the way that i do
is this:
if is_mobile and request.extension == "html" :
#Its mobile
response.view = "%s/%s.%s" % (request.controller,
request.function, "mobile")
if not os.path.exists(os.path.join(req
3 matches
Mail list logo