]> git.mxchange.org Git - shipsimu.git/blobdiff - application/blog/templates/de/code/login_main.ctp
A lot rewrites and fixes for weak redirect methods
[shipsimu.git] / application / blog / templates / de / code / login_main.ctp
index abeacc7c718d0c3d56669d10aa68890221141c72..03736cda0ae90746eb7cab1a2daaf7e98308fe67 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>