Creating a Portofolio CMS with Codeigniter Part 3

View container. We create a folder under application/views/portfolio. Files, container.php, header.php and footer.php will go under this folder. In our contaner.php, we load all the css and javascripts in the head section. Then we load header.php, error display, content if exists, page and footer.php. All the variables $content, $module, $page etc will be set in our controller later.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.