Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajax-Call for explicitAllowMapProviderRequests #118

Closed
joeschi opened this issue Aug 5, 2019 · 2 comments
Closed

Ajax-Call for explicitAllowMapProviderRequests #118

joeschi opened this issue Aug 5, 2019 · 2 comments
Labels

Comments

@joeschi
Copy link

joeschi commented Aug 5, 2019

It would be great to have an ajax-call instead of form submit while giving the permision to load the map from Google.

@froemken
Copy link
Contributor

Hello @joeschi

Currently I don't see a possibility for that cool feature. With first view we can not add any JavaScript libraries from google servers. With a click on "activate" we reload complete site to re-parse TypoScript and its conditions to add the needed JavaScript libraries from Google to page footer.

Maybe you can add a section/anker to the activation link with the Content Element UID of our plugin in fluid template. In most cases this should be something like #c123
So, after clicking the link the page should scroll down back to our plugin again.

Stefan

@froemken
Copy link
Contributor

froemken commented Mar 2, 2022

Hello @joeschi

on current master I have added a new TypoScript setting which is activated by default:

plugin.tx_maps2 {
  settings {
    overlay {
      link {
        addSection = 1
      }
  }
}

It is not an Ajax call, but should help to solve your problem.

Stefan

@froemken froemken closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants