Hide Google Maps

  • Bettin
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 11 months ago #113363 by Bettin
Hide Google Maps was created by Bettin
Hallo OS-Team,
my customer does not want to have any connection to Google on the website. So I tried to eliminate the connection to Google Maps. But for a very short time the map is always will be shown.
How is it possible only to show a adress without a link to the map?

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #113382 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Google Maps
Hi Bettin

At the moment, we don't have an option to display link without link to the map. So if you want to display it, you will need to customize code

Try to look at the file components/com_eventbooking/view/common/tmpl/event_properties.php, you should see the code for linking to the map and can remove it

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #115481 by Tom
Replied by Tom on topic Hide Google Maps
Dear Tuan,

we should have this opportunity also. Plz implement a switch: show map yes/no. Instead a popup with the address would be fine and enough!
Thank you for your effort in advance.
Best wishes
Tom

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #115482 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Google Maps
Instead of showing address in popup, shouldn't we display it under the location name directly?

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago - 5 years 9 months ago #115485 by Tom
Replied by Tom on topic Hide Google Maps
Dear Tuan,

thank you for the fast reply.

I just worry about the side effects. If you show the address below the location name, it needs more space.

If me, I would prefer in popup.

Thank you
Tom
Last edit: 5 years 9 months ago by Tom.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #115498 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Google Maps
For your need, try to get this file, unzip it, upload to components/com_eventbooking/view/map/tmpl folder to see whether it works as you want?

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #115538 by Tom
Replied by Tom on topic Hide Google Maps
Dear Tuan,

perfect, it works.

Thank you very much for the fast support.

Best wishes
Tomn

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #115539 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Google Maps
Great to hear that it works. You should move that modified file to PATH_TO_TEMPLATE/html/com_eventbooking/map folder so that the change won't be lost when you update Events Booking in the future

Regards,

Tuan
The following user(s) said Thank You: Tom

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #115546 by Tom
Replied by Tom on topic Hide Google Maps
Dear Tuan,
thank you for the precious hint.
Best wishes
Tom

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago - 5 years 9 months ago #115549 by Tom
Replied by Tom on topic Hide Google Maps
Dear Tuan,
I placed the modified default.php to the path /templates/beez3/html/com_eventbooking/map.
It works, but it is not a popup like before.
I would like it could be a popup with this solution. Do you have a suggestion?
Thank You
Tom
Last edit: 5 years 9 months ago by Tom.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc