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

[Question]: Script for cookies #3794

Closed
1 task done
BaBoWaGa opened this issue Jul 20, 2023 · 2 comments
Closed
1 task done

[Question]: Script for cookies #3794

BaBoWaGa opened this issue Jul 20, 2023 · 2 comments
Labels
feedback javascript Pull requests that update Javascript code question

Comments

@BaBoWaGa
Copy link

What is the question?

I need to put the cookie script after the tag, but I don't know exactly which files to edit

Versions

Versions :

  • Lizmap Web Client : 3.6.3
  • Lizmap plugin : 3.15.1
  • QGIS Desktop : 3.32.0
  • QGIS Server : 3.32.0
  • Py-QGIS-Server : not used
  • QGIS Server plugin atlasprint : 3.3.2
  • QGIS Server plugin lizmap_server : 2.7.1
  • QGIS Server plugin wfsOutputExtension : 1.7.1

Check Lizmap plugin

  • I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

QGIS server version, only if the section above doesn't mention the QGIS Server version

No response

Operating system

Ubuuntu 22

Browsers

Chrome

Browsers version

chrome 112

Relevant log output

No response

@nboisteault
Copy link
Member

You could create a JS script to inject your cookie script wherever you want in the map page. If you want this cookie script to be added in the main page too, you'll have to override a template. Look at https://docs.lizmap.com/current/fr/publish/customization/template.html

@Gustry Gustry added feedback javascript Pull requests that update Javascript code labels Jul 20, 2023
@BaBoWaGa
Copy link
Author

You could create a JS script to inject your cookie script wherever you want in the map page. If you want this cookie script to be added in the main page too, you'll have to override a template. Look at https://docs.lizmap.com/current/fr/publish/customization/template.html

Ok thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback javascript Pull requests that update Javascript code question
Projects
None yet
Development

No branches or pull requests

3 participants