Filter

Module provide single filter called "Contact Tools modal links".

This filter looking for all link which href tag contains /contact-tools/CONTACT_FORM. What it does:

Examples

<!-- Simple example with minimum data. -->
<a href="/contact-tools/callback">Call me!</a>

<!-- You also can pass arguments and other data you need. -->
<a href="/contact-tools/callback?from=header-block" class="button">Call me!</a>

<!-- You can change dialog default options. Look at the quotes for data-dialog-options attribute. This is important! -->
<a href="/contact-tools/callback" data-dialog-options='{"width": "auto"}'>Call
  me!</a>

<!-- Pass additional dialog options from Dialog API which is not provided by default. -->
<a href="/contact-tools/callback"
   data-dialog-options='{"title": "We will call you!", "width": "100%"}'>Call
  me!</a>