Skip to Content
Menu
This question has been flagged
1 Odpoveď
5928 Zobrazenia

Is it possible to have a popup window on the website whenever a visitor presses a button?

Avatar
Zrušiť
Autor Best Answer

In Odoo 16.4 There is a new display option available with the pop-up block called “On Click (via link)”

Once this option is enabled there will be a message on the top right corner which gives an anchor for the pop-up, with an option to edit it.

Press the edit button quickly as this lasts only for a few seconds. If you missed it, change the Display option to something else and and again switch it back to On Click.

Once the Edit Option is selected it is going to open up a dialog box where the anchor for the pop-up can be edited.

Change the Anchor Name and Press “Save and Copy” Button.

 Once the Anchor is copied. You can now create a button by typing “/button”


In the Button dialog box type in the Label for the button and paste the Page anchor for the Pop-up with a “#” in front of it. and save changes.

When you press this button, it will open the pop-up window.

Note:

This feature also works with the Newsletter Pop-Up Block.

 


Avatar
Zrušiť

Hey! Thanks for this. It works superb.
However, do you have a clue how to get this working across all pages? I have the link in the header, so it would be nice if the popup would be visible on all pages.

Sorry i was to quick! Found the solution :)

Related Posts Replies Zobrazenia Aktivita
1
mar 24
953
1
okt 24
3664
2
apr 25
1295
2
nov 24
1284
2
okt 24
1829