Toolkit.php
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 14 Aug 2014 18:58:02 +0000 (14:58 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 14 Aug 2014 18:59:45 +0000 (14:59 -0400)
update the call to secondaryParagraph to be before the main so
we can generate the section links.

Toolkit/Template/Page/Toolbox.php

index ea92494..6745c88 100644 (file)
@@ -168,6 +168,8 @@ class Toolkit_Template_Page_Toolbox implements Toolkit_Template_Page_IBody
                 = (defined('COUPONS'))
                 ? $this->_getPageCoupons($this->id)
                 : null;
+            $tPage->secondaryParagraphs
+                = $this->getSecondaryParagraphs($this->id);
     //        $tPage->specials = $specials;
             $tPage->staticPageContent
                 = $this->getStaticPageContent($this->id);
@@ -175,8 +177,7 @@ class Toolkit_Template_Page_Toolbox implements Toolkit_Template_Page_IBody
                 = $breadCrumbsBuilder->toHtml($this->id);
             $tPage->primaryParagraph
                 = $this->getPrimaryParagraph($this->id);
-            $tPage->secondaryParagraphs
-                = $this->getSecondaryParagraphs($this->id);
+
         }
 
         return $tPage;