setUrlVarNames(array("Id", "Id")); } function makePath() { return "/name"; } 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) { global $gui; $gui->display("default.tpl"); } function postDefault($inPath) { //this is for posts, it handles when forms get submitted. } }