This topic is locked

Mobile Template

10/15/2011 4:38:25 PM
PHPRunner General questions
O
OLDmrcaseyman author

Hi,
Is there some way to limit or make 'mobile-only' views available when accessed by a mobile device?
Some of my views are just too large to translate onto the small screen.
Thank you,
Steve

O
OLDmrcaseyman author 10/17/2011



Check this article: http://mobiforge.com/developing/story/lightweight-device-detection-php


Thank you Cristian, I will check into it.

Steve

Admin 10/17/2011

You may want to remove large views from the menu when user uses a mobile device. You can use 'Menu item: Modify

' event and isMobile() function to do so. isMobile() function returns true if application is accessed by mobile device, returns false in other case.
More info:

http://xlinesoft.com/phprunner/docs/menu_item_modify.htm