Contribution Date
Technology
Contribution Project
Contribution Details
For overlay_path you can use
function modulename_overlay_paths() {
$paths = array('contact' => TRUE,);
return $paths;
}
and for ctools_automodal as given on the module page
<?php
function mymodule_menu() {
$items['mymodule/form'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array('mymodule_form'),
'access arguments' => array('administer mymodule'),
'modal' => TRUE, // This line is where the magic happens.
);
}
?>
just add 'modal' => true
at the end of the item declaration
Contribution Issue Link
Contribution Link
Files count
0
Patches count
0