Conditional popups in Drupal

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
firesidelibrarian's picture

I want to create popups that invite visitors to sign up for an email list when they click on a specific type of link (node type). I need it to stop appearing once they have signed up. I do not know how to do this in Drupal.

I am using the Open Outreach distribution, which includes RedHen CRM. I found a module to create popups (Popup), but am not sure how to get it to interact with my CRM.

Any ideas?
Thanks in advance!

TV

Comments

I'm not too familiar with the

loganfarr's picture

I'm not too familiar with the RedHen CRM or Open Outreach distribution, but I am pretty sure you can do this with Rules. Display a message when a user visits your site (Drupal is Initiating, or Content is Viewed), then as an action do "Display a Message" and uncheck the "Repeat" box.

Or, if you want better

loganfarr's picture

Or, if you want better integration with the Popup module, you could try checking out these posts:
https://www.drupal.org/node/2311701
https://www.drupal.org/project/popup_onload

I glanced through these and don't know if these solve your problem, but I figured they'd be helpful.