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'.

Command icon 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:

Comments

ianchan created an issue. See original summary.

vegardjo made their first commit to this issue’s fork.

vegardjo changed the visibility of the branch 3201442-persist-close to hidden.

vegardjo’s picture

Version: 8.x-2.6 » 8.x-3.x-dev
Status: Active » Needs review

Thanks 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.

i-trokhanenko made their first commit to this issue’s fork.

i-trokhanenko’s picture

Status: Needs review » Reviewed & tested by the community

i-trokhanenko’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.