CTools presentation slides and example code
Posted by Merlin on Fri Sep 4, 2009 12:27 am.Slides: http://www.slideshare.net/merlinofchaos/the-chaos-tools-suite
This is the modal test module. You can create the .info file that goes with it.
<?php
/**
* Implementation of hook_menu().
*/
function modal_test_menu() {
$items = array();
$items['modal_test'] = array(
'title' => 'Modal test',
'access callback' => TRUE,
'page callback' => 'modal_test_page',
);
$items['modal_test/form'] = array(
'title' => 'AJAX modal dialog',
'access callback' => TRUE,
'page callback' => 'modal_test_popup',
'type' => MENU_CALLBACK,
);
