diff --git a/controllers/node/page/default.php b/controllers/node/page/default.php index 05039d10f..3be11edf4 100644 --- a/controllers/node/page/default.php +++ b/controllers/node/page/default.php @@ -112,6 +112,12 @@ public function processPage() { $this->saveBodyCssClass($body_css_class); + /** + * save node_id to registry + */ + + Zend_Registry::set('node_id', $this->GET['id']); + /** * process open graph tags */ diff --git a/templates/sys/html.html b/templates/sys/html.html index 7cd97f39b..501ba9e53 100644 --- a/templates/sys/html.html +++ b/templates/sys/html.html @@ -12,7 +12,7 @@ {REGISTRY.head} - +
{MESSAGES}
{SUB_CONTENT} diff --git a/templates/sys/html5.html b/templates/sys/html5.html index a6d5b52a5..36383f5cf 100644 --- a/templates/sys/html5.html +++ b/templates/sys/html5.html @@ -17,7 +17,7 @@ {REGISTRY.head} - +
{MESSAGES}
{SUB_CONTENT} diff --git a/templates/sys/html5_og.html b/templates/sys/html5_og.html index 77c93e02c..a2f7a9344 100644 --- a/templates/sys/html5_og.html +++ b/templates/sys/html5_og.html @@ -17,7 +17,7 @@ {REGISTRY.head} - +
{MESSAGES}
{SUB_CONTENT} diff --git a/templates/sys/xhtml.html b/templates/sys/xhtml.html index 95eb78cc1..4bfb9190e 100644 --- a/templates/sys/xhtml.html +++ b/templates/sys/xhtml.html @@ -14,7 +14,7 @@ {REGISTRY.head} - +
{MESSAGES}
{SUB_CONTENT} diff --git a/templates/sys/xhtml_10-trans.html b/templates/sys/xhtml_10-trans.html index f831c1bfa..8f3e12912 100644 --- a/templates/sys/xhtml_10-trans.html +++ b/templates/sys/xhtml_10-trans.html @@ -13,7 +13,7 @@ {REGISTRY.head} - +
{MESSAGES}
{SUB_CONTENT}