Hi, i'm new to Joomla Mobile, i found it last week and i think it's a powerful extension.
I think i've understood (almost) everything ... or so it seems
> I'm working on J3.x.
> My Mobile Joomla package version is 1.2.11
> I still am working on localhost PHP 5.3.10 & MySql 5.5.4.1
> I'm working on iPhone 3GS
Like so many other joomla extensions, my component has many Views and for each view i load different JS files, i load them into "display()" View function.
Now i've installed Mobile Joomla and it works fine! but not all my JS files ( loaded in specific View) work on iPhone (and other devices too).
How can i load JS View files for the specific device ? I can't understand how/where do i have to select specific JS (of the Views) file in relation to specific Mobile device. In few words, i would like to know of a conditional JS View Script loading in according to devide detected, i mean something like:
I think i've understood (almost) everything ... or so it seems
> I'm working on J3.x.
> My Mobile Joomla package version is 1.2.11
> I still am working on localhost PHP 5.3.10 & MySql 5.5.4.1
> I'm working on iPhone 3GS
Like so many other joomla extensions, my component has many Views and for each view i load different JS files, i load them into "display()" View function.
Now i've installed Mobile Joomla and it works fine! but not all my JS files ( loaded in specific View) work on iPhone (and other devices too).
How can i load JS View files for the specific device ? I can't understand how/where do i have to select specific JS (of the Views) file in relation to specific Mobile device. In few words, i would like to know of a conditional JS View Script loading in according to devide detected, i mean something like:
- if joomla detects desktop pc then it must load this file: /views/MY_VIEW/js/js_desktop.js
- if joomla detects iPhone then it must load following file: /views/MY_VIEW/js/js_iphone.js