designs Posted July 9, 2009 Share Posted July 9, 2009 Hi, im currently wanted to develop a mobile pluggin im currently wanting to create one and i needed some help? i have a social networking site and i needed some help i wanted to make the social network pc to mobile that you can access both of them for example if your in the pc you can use the default and if ur in the mobile it will detect it and you will have a mobile community i using elgg as the app elgg.org and by this developer named pedro he gave me an example and some help i needed so help he posted this i dont want the mobile to be iphone i want it to be any time of phone it would work how can i do that anny help? heres the source code its on php by the way f(preg_match("/(ipod|iphone)/i",$_SERVER['HTTP_USER_AGENT']) || 1==1) { //Set iPhone view elgg_set_viewtype('iphone'); //iPhone page handler extend_view('pageshells/pageshell', 'iphone/handler'); } Quote Link to comment https://forums.phpfreaks.com/topic/165399-mobile-plugin-module-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.