When I set fuel_mode to auto (instead of views), only the header and footer blocks load. Updated the controller to use $this instead of $CI, but it didn't make a difference. Array is still the same as it was before: Array ( [0] => layout [1] =>…
I just got back from vacation, ready to try and solve this again! Haha.
Array ( [0] => layout [1] => page_title [2] => meta_keywords [3] => meta_description [4] => js [5] => css [6] => body_class [7] => CI )
The array d…
When I add <?php print_r($vars); ?> to application/views/home.php, this happens:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 57525451 bytes) in /home/public_html/fuel/modules/fuel/libraries/Fuel_pages.php …
I now have:
<?php class Home extends CI_Controller { function __construct() { parent::__construct(); } function home() { $vars = array(); $vars = $CI->fuel->pagevars->retrieve('home'); …
That sounds like what I want to do, but I'm not sure how to achieve it. I already created a home page in the CMS, and created application/views/home.php (which is where the HTML is and where I'd like specific variables that can be edited through the…