A lot rewrites and fixes for weak redirect methods
[shipsimu.git] / application / blog / templates / de / code / login_main.ctp
index abeacc7..03736cd 100644 (file)
@@ -22,6 +22,15 @@ if ($blockInstance->ifIncludeRegistrationStamp()) {
 // Flush the content out to a template variable
 $blockInstance->flushContent();
 
+// Get a new instance for blog data
+$blockInstance = ObjectFactory::createObjectByConfiguredName('web_block_helper', array($this, 'blog_data'));
+
+// Set the data source instance which must exist in registry
+$blockInstance->prefetchValueInstance('blog');
+
+// Flush the content out to a template variable
+$blockInstance->flushContent();
+
 // Get helper instance
 $helper = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_action_link', 'index.php?app={?app_short_name?}&page=login_area'));
 
@@ -50,6 +59,10 @@ $helper->flushContent();
                {?persona_data?}
        </div>
 
+       <div id="persona_body">
+               {?blog_data?}
+       </div>
+
        <div id="logout_link">
                {?logout_action_link?}
        </div>