Index: themes/engines/phptemplate/phptemplate.engine =================================================================== --- themes/engines/phptemplate/phptemplate.engine (revision 5753) +++ themes/engines/phptemplate/phptemplate.engine (working copy) @@ -251,6 +251,14 @@ $suggestions[] = 'page-front'; } + $suggestion = 'page'; + foreach(explode('/', $_REQUEST['q']) as $arg) { + $suggestions[] = $suggestion . '-' . $arg; + if (!is_numeric($arg)) { + $suggestion .= '-' . $arg; + } + } + return _phptemplate_callback('page', $variables, $suggestions); }