Had to change how headers are called in the interior pages. feature/DiscoverKzoo
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 16 Feb 2016 19:51:56 +0000 (14:51 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 16 Feb 2016 19:51:56 +0000 (14:51 -0500)
controllers/ToolboxImport.php

index b208169..6fa2f7e 100644 (file)
                     switch ($iterator) {
                     case 1:
                         if (isset($paragraph['title']) && $paragraph['title']) {
-                            $page['pageContent'] .= '<h1>'.$paragraph['title'].'</h1>';
+                            $page['pageContent'] .= '<h2>'.$paragraph['title'].'</h2>';
                         }
                         if (isset($paragraph['image']) && $paragraph['image']) {
                             //$page['images'][]     = $paragraph['image'];
                         break;
                     case 2:
                         if (isset($paragraph['name']) && $paragraph['name']) {
-                            $page['pageContent'] .= '<h2>'.$paragraph['name'].'</h2>';
+                            $page['pageContent'] .= '<h3>'.$paragraph['name'].'</h3>';
                         }
                         if (isset($paragraph['title']) && $paragraph['title']) {
-                            $page['pageContent'] .= '<h2>'.$paragraph['title'].'</h2>';
+                            $page['pageContent'] .= '<h3>'.$paragraph['title'].'</h3>';
                         }
                         if (isset($paragraph['image']) && $paragraph['image']) {
                             //$page['images'][]     = $paragraph['image'];
                         break;
                     default:
                         if (isset($paragraph['name']) && $paragraph['name']) {
-                            $page['pageContent'] .= '<h2>'.$paragraph['name'].'</h2>';
+                            $page['pageContent'] .= '<h3>'.$paragraph['name'].'</h3>';
                         }
                         if (isset($paragraph['title']) && $paragraph['title']) {
-                            $page['pageContent'] .= '<h2>'.$paragraph['title'].'</h2>';
+                            $page['pageContent'] .= '<h3>'.$paragraph['title'].'</h3>';
                         }
                         if (isset($paragraph['template']) && $alternateImg && $page['template'] == 2) {
                             $align = ($iterator%2 == 0) ? 'left' : 'right';