fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: (SOLVED) Topbar hight and location icon

Topbar hight and location icon 3 years 3 months ago #10881

  • SaMILE
  • SaMILE's Avatar
  • Offline
  • Senior Member
  • Posts: 48
  • Thank you received: 1
  • Karma: 0
Yes perfect! That does work. I do have one more question. :silly:

The url I used is a specific location on google maps. That works fine on a PC or laptop.
I was wondering if it is possible to open the app google maps instead of the website just if the website is visited from a phone or tablet. It should work for both iOS and Android though.

Thanks! Sam
The topic has been locked.

Topbar hight and location icon 3 years 3 months ago #10882

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4490
  • Thank you received: 647
  • Karma: 116
Sam,

It's something controlled on the OS level and It is something that works automatically if you have Google Maps App installed on the phone.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.

Topbar hight and location icon 3 years 3 months ago #10883

  • SaMILE
  • SaMILE's Avatar
  • Offline
  • Senior Member
  • Posts: 48
  • Thank you received: 1
  • Karma: 0
I tried it on my phone (android) it does open a new tab with the website google maps. Eventhough I have the app installed.
I used this code:
if($this->helix3->getParam('contact_time')) $output .= '<li class="sp-contact-time"><i class="fa fa-home" aria-hidden="true"></i><a target="_blank" href="https://www.google.de/maps/@50.0035409,7.0032815,17z'.'">' . $this->helix3->getParam('contact_time') . '</a></li>';
maybe it's just my phone?
thanks!
Last Edit: 3 years 3 months ago by SaMILE.
The topic has been locked.

Topbar hight and location icon 3 years 3 months ago #10884

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4490
  • Thank you received: 647
  • Karma: 116
Probably, I know it works for some most of the times and sometimes it doesn't pickup.

Even when I have maps.google.com open in the browser, There is a notification to open the app. So the user would know.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.

Topbar hight and location icon 3 years 3 months ago #10886

  • SaMILE
  • SaMILE's Avatar
  • Offline
  • Senior Member
  • Posts: 48
  • Thank you received: 1
  • Karma: 0
Ok. Thanks for your help!
I do have some other questions, but I will open a new topic for each issue. So other user can find it more easily.
Thanks again for your quick support! :)
Cheers Sam
The topic has been locked.

Topbar hight and location icon 3 years 3 months ago #10892

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4490
  • Thank you received: 647
  • Karma: 116
Thanks Sam.

Case Closed!
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.
The following user(s) said Thank You: SaMILE
  • Page:
  • 1
  • 2
Moderators: chandandeep
Time to create page: 0.394 seconds
Cron Job Starts