modal_cta

Component ID

2004746

Component name

modal_cta

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Provides a way to display modal windows containing call to actions buttons/links.
The logic is similar to the one implemented by drupal_set_message() and drupal_get_messages(): invoke modal_cta_set_message()to 'trigger' the visualisation of a call to action message within a modal window, which will be dinamically 'injected' in the page render array.
This logic let you, for example, handle the visualization of the call to action messages on node creation just by implementing hook_node_insert() for 'triggering' the event: no templating activities needed, no constraints on the node form submit landing page.

This module is sponsored by Atchai Digital