xoops forums

fernandosem

Just popping in
Posted on: 2010/7/14 2:43
fernandosem
fernandosem (Show more)
Just popping in
Posts: 6
Since: 2009/9/9 1
#1

Wurfl Module

Hello guys, could someone tell me how to use the module WURFL?

I'm trying use the WURFL Module for XOOPS but I'm not certain how do to make he work.


Please help me showing any example, would be great!



10x,
Fernando Sanches



Quote:

Obs: Visit http://fernandosanches.info and look my problem in trying use the "default WURF projet (http://wurfl.sourceforge.net/)"!


webmystar

Friend of XOOPS
Posted on: 2010/7/14 8:01
webmystar
webmystar (Show more)
Friend of XOOPS
Posts: 415
Since: 2008/6/23
#2

Re: Wurfl Module

you can ask wishcraft, he is the developer of this module:
https://xoops.org/modules/profile/userinfo.php?uid=62352

fernandosem

Just popping in
Posted on: 2010/7/14 10:19
fernandosem
fernandosem (Show more)
Just popping in
Posts: 6
Since: 2009/9/9 1
#3

Re: Wurfl Module

10x to your tips!!!


I done this on chronolabs.coop my friend.

What who you make this redirect?
My post is not in the right place?


Regards,
Fernando

fernandosem

Just popping in
Posted on: 2010/7/15 0:12
fernandosem
fernandosem (Show more)
Just popping in
Posts: 6
Since: 2009/9/9 1
#4

Re: Wurfl Module

nobody?

Please anybody can help me?

wishcraft

Module Developer
Posted on: 2010/7/15 23:38
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3710
Since: 2007/5/18
#5

Re: Wurfl Module - What is it & How to use it

The module WURFL is a wireless device respository, it will convert the WURFL XML files to an associated tabled database which then allows XOOPS when a wireless devices User Agent is detected to have all the information it needs to display it.

The best way of using WURLF is with a combination of Multisite and your xoops site. The idea is when a WURLF user agent is detected you can redirect them to http://mobile.yoursite.com and present a theme which uses the information in the WURFL database to display on the device.

WURFL is for having information for Smarty and other modules in pertenance to mobile devices. When it is running there is a small preloader example for loading the WURFL data into the smarty header with the header.php (You can also modify this to redirect the customer/client to your mobile devices database.

There is no set guidelines and I haven't seen many people share in WURFL Themes for mobile devices. But I am sure with the amount of databases presented and downloaded of it - it is in use.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/SimonXaies
github.com/Chronolabs-Cooperative
facebook.com/SimonSXaies

fernandosem

Just popping in
Posted on: 2010/7/17 2:00
fernandosem
fernandosem (Show more)
Just popping in
Posts: 6
Since: 2009/9/9 1
#6

Re: Wurfl Module

you can show me an example of using smarty tag to contruction a theme?


In the project wurfl I'm use this:
$html_level $wurflObj->getDeviceCapability("xhtml_support_level");
$is_mobile $wurflObj->getDeviceCapability("is_wireless_device");


/******************************
Putting to work
******************************/
if ($ wurflObj-> getDeviceCapability ($ is_mobile == 1)) (
switch ($ 
html_level) (...


This correct In case of the wurfl xoops smarty <{$wurfl_html_level}>?

10x for you help!