setUrlVarNames(array("Id", "Id")); } function makePath() { return "/name"; // replace name with the name of the zone } function initZone($inPath) { // do things here that you want to happen on every request that includes this zone } function initPages($inPath) { //do things here that you want to happen for every request that ends with a page in this zone, including posts } function pageDefault($inPath) { $guiDisplay->display("default.tpl"); } function postDefault($inPath) { //this is for posts, it handles when forms get submitted. } function pageForms2($inPath) { global $gui; $gui->display("examples/forms2intro.tpl"); } function pageSetupTables($inPath) { sql_query(""); } }