Starting with Mobile Joomla!

renx88
13 years, 4 months ago
Hi.
Can somebody explain easily, is it possible to use one template in all devices (iphone, smartphone ..)?
For default, there are different templates for iphone and other phones.

And if yes, how to do that?
or maybe there are some blank templates?
dryabov
13 years, 4 months ago
You can use the same templates for iPhone-, Smartphone-, and imode-type devices. But not for WAP, because of this devices use wml markup language instead of html.
You can change template in corresponding tabs of MJ settings page.
renx88
13 years, 4 months ago
But when I used iphone default template on smartphone, then there were some errors.

Does iphone and smartpone uses same parameters and scripts? or I need take smartphone stuff from smartphone default template?
dryabov
13 years, 4 months ago
What errors?

mobile_iphone template is based on jQTouch, so it should work on iOS-based devices, can work in Webkit-based browsers, and unlikely works correctly on other devices.

And mobile_pda template should work on most of mobile devices including iPhones.
renx88
13 years, 4 months ago
So I can just take iphone template, and use it in smartphone and imode. And I dont need to make 3 templates (for each device 1), which should look similar at the end? Am I right?
renx88
13 years, 4 months ago
Im asking one more thing, maybe you know. If I add a phone number, as a link, and when I klick on it, then I can start to call. Problem is that, after call, it shows that, this page (link) is not availabe (because its just a number, not a page). I cant figure out how to do so, that it just calls and wont try to direct me to that non available page.
dryabov
13 years, 4 months ago
renx88 wrote:
So I can just take iphone template, and use it in smartphone and imode. And I dont need to make 3 templates (for each device 1), which should look similar at the end? Am I right?


Yes.

renx88 wrote:
Im asking one more thing, maybe you know. If I add a phone number, as a link, and when I klick on it, then I can start to call. Problem is that, after call, it shows that, this page (link) is not availabe (because its just a number, not a page). I cant figure out how to do so, that it just calls and wont try to direct me to that non available page.


Do you mean
<a href="tel:???">

links? Do you have this issue on both mobile_iphone and mobile_pda templates?
renx88
13 years, 4 months ago
Yes, I mean that.

Im testing that calling on my smartphone (htc). Dont know how it works on iphones or other phones.

I just add <a href="tel:55555555">555555555</a>
Normally It should work correctly?
dryabov
13 years, 4 months ago
renx88 wrote:
I just add <a href="tel:55555555">555555555</a>
Normally It should work correctly?


Maybe it is device-dependent. Try to test this type of links is by creating simple static html file with this link only and test how it works.
renx88
13 years, 4 months ago
Same problem.
Maybe its HTC phonemark problem then. Dont have no iphone here, to try with that.
But thx a lot!

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.