Jump to content

mobile plugin module help


designs

Recommended Posts

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');

        }

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.