diff --git a/syntax/blog.php b/syntax/blog.php index 4311330..f695b5e 100644 --- a/syntax/blog.php +++ b/syntax/blog.php @@ -60,6 +60,11 @@ function render($mode, Doku_Renderer $renderer, $data) { $first = $_REQUEST['first']; if (!is_numeric($first)) $first = 0; + // complement the blog's parent namespaces in case it is nested + if(getNS(getID())){ + $ns = getNS(getID()) .":". $ns; + } + // get the blog entries for our namespace /** @var helper_plugin_blog $my */ if ($my =& plugin_load('helper', 'blog')) $entries = $my->getBlog($ns);