Sory, you can show me example ?, please.
i found common page controller in path of 'core/engine/page.php'
---------------------------------------------------
//Process disparcher in while in case we have new dispatch back
while ($dispatch_rt){
//Process main level controller
// load page layout
if ($this->layout) {
....
$dispatch_rt = "common/page"; //how i can override this on each page ?
}
//Do the magic
$dispatch = new ADispatcher($dispatch_rt, array("instance_id" => "0"));
$dispatch_rt = $dispatch->dispatch();
}
---------------------------------------------------
as you see this line: $dispatch_rt = "common/page";
how i can override this on each page ?
one more thing, what api i can check current page template? ie: is_home(), is_category()...
Thank a lot.