11
timgno
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/10/25 14:42

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


You can see an alpha demo here, on both your phone and tablet.

Although on the tablet we will opt for flexible bootstrap

12
timgno
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/11 10:22

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


The framework in jquery you can download from here in xoops 2.6

I'm creating the basis for access from mobile in the same database that you use for your desktop or tablet in xoops.

changes should be based on the profile and pm modules trasfprmati in mprofile and mpm, in addition to my mobile site I put mcontact.

m stands for mobile module.

In essence the template to be modified are those that normally use, with the addition of some parameters in the html tag, as for example:

data-theme=, data-role=, data-position=, data-icon=, data-iconpos=, data-mini=, placeholder=, etc.

You can already begin to build your templates from these parameters.

Work in progress

13
bjuti
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/11 18:09

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Will the plugin be availble for 2.5.5? :) Tnx.

14
timgno
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/13 15:47

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


You can download the zip file of the framework on my site

Read the readme file

15
timgno
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/19 20:10

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Other work on the mobile site, the alpha version goes on

16
timgno
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/20 16:20

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Please I would like your impressions and runs in your smartphone, iphone, etc.

17
hunnuh
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/21 4:46

  • hunnuh

  • Just popping in

  • Posts: 47

  • Since: 2007/7/27


I would like to ask how to install?

18
timgno
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/21 8:44

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I'm creating another framework included in the theme, by this evening should finish a draft.

Just finished will give you the link.

There will be no need to download jquery library.

19
hunnuh
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/21 9:56

  • hunnuh

  • Just popping in

  • Posts: 47

  • Since: 2007/7/27


Thank you !

20
timgno
Re: Talk of JQuery Mobile Framework For Xoops
  • 2012/11/21 17:04

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


In the meantime it's ready a default theme, I show you what to put in the mainfile.php file to automatically redirect your site on a mobile device.

function mobile_detect()
{    if(
preg_match('/(alcatel|amoi|android|avantgo|blackberry|benq|cell|cricket 
|docomo|elaine|htc|iemobile|iphone|ipad|ipaq|ipod|j2me|java|midp|mini
|mmp|mobi|motorola|nec-nokia|palm|panasonic|philips|phone|playbook
|sagem|sharp|sie-|silk|smartphone|sony|symbian|t-mobile
|telus|up.browser|up.link|vodafone|wap|webos
|wireless|xda|xoom|zte)/i'
$_SERVER['HTTP_USER_AGENT']))
        return 
true
    else
        return 
false;
}

$mobile mobile_detect();
 
if(
$mobile === true)
    
header('Location: http://m.xoops.org/');


I also added ipad, but with xoops 2.6 will not be necessary given the excellent bootstrap

Login

Who's Online

230 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits