콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6354 화면

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

아바타
취소
작성자 베스트 답변

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.

 


아바타
취소

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 :)

관련 게시물 답글 화면 활동
1
3월 24
1098
1
10월 24
3916
2
4월 25
1564
2
11월 24
1481
2
10월 24
2051