Miko. eCommerce Template

Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Forms Address field, Overlay Selection, Maps

4 years 4 months ago #1

  • Mathias's Avatar
  • Mathias
  • Posts: 21
Hi!

I get a bug where the overlay selection popup frame freezes when I have an address field inside my form. The form is placed inside the overlay selection popup.

Inside the contact page I also have a Google Maps plugin. I also want to mention that I'm using the Aura theme but don't think that has anything to do with it. Thank you in advance.

Regards
Mathias

4 years 4 months ago #2

  • Artem's Avatar
  • Artem
  • Posts: 9069
Hi Mathias,

It's a Gridbox bug :( will be fixed from the next version. But here is solution, go to:
components/com_bagrid/site/helpers/bagrid.php
Line 486,

Replace from:
$doc->addScript('https://maps.googleapis.com/maps/api/js?key='.$key);

to:
$doc->addScript('https://maps.googleapis.com/maps/api/js?libraries=places&key='.$key);

Regards,

4 years 4 months ago #3

  • Mathias's Avatar
  • Mathias
  • Posts: 21
Hi,

That worked grate, thanks! But the path was components/com_bagrid/helpers/bagrid.php.

Is there a way to show slider inside the popup window, it can be somewhat unclear for some people on how to scroll?

Regards
Mathias

4 years 4 months ago #4

  • Artem's Avatar
  • Artem
  • Posts: 9069
Hi,

Yes, into Lightbox Plugin you can add any another Gridbox plugin or Joomla module. Here is solution which can help you to enable scroll
.ba-lightbox .ba-section {
    width: 100% !important;
}

i.close-lightbox {
    right: 30px !important;
}

Code you need to place into Gridbox CSS editror

Regards,

4 years 4 months ago #5

  • Mathias's Avatar
  • Mathias
  • Posts: 21
Hi!

The scrolling works fine from the start I just want to att a slider to the right of the box where you can drag down to scroll.

Regards
Mathias

4 years 4 months ago #6

  • Artem's Avatar
  • Artem
  • Posts: 9069
Maybe you can provide some screen?! sorry but I can't understand what you want to do

4 years 4 months ago #7

  • Mathias's Avatar
  • Mathias
  • Posts: 21
Hi again,

Sorry for writing wrong but I meant scroll bar not slider. I posted a picture here.

Regards
Mathias

4 years 4 months ago #8

  • Artem's Avatar
  • Artem
  • Posts: 9069
Hi,

This code will enable scroll bar at the right, just add it and you will see results
.ba-lightbox .ba-section {
    width: 100% !important;
}

i.close-lightbox {
    right: 30px !important;
}

4 years 4 months ago #9

  • Mathias's Avatar
  • Mathias
  • Posts: 21
Hi!

The scroll bar does not work with the code you provided. Is there anything else I can do?

Regards
Mathias

4 years 4 months ago #10

  • Artem's Avatar
  • Artem
  • Posts: 9069
Send us please the link to page
Powered by Kunena Forum