We'd like to offer a checkbox that allows users to stop the display of pop-ups for the remainder of their visit to any web page within the Drupal website.
When checkmarked, this checkbox would set a cookie that supersedes the pop-up configuration settings for visit counts. The cookie would be set when the user clicks the close button or a button adjacent to the checkbox with the text label of 'Close'.
Issue fork simple_popup_blocks-3201442
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3201442-remember-dismiss
changes, plain diff MR !28
- 3201442-persist-close
compare
Comments
Comment #5
vegardjo commentedThanks for this nice module! We also have a hard requirement that the pop-ups must respect a users choice, so here is a MR that adds this, targeted towards 3.x.
Comment #7
i-trokhanenkoComment #9
i-trokhanenko