Learn how to earn $125 or more per hour as a freelancer - Free Test Drive

Creating a Portofolio CMS with Codeigniter Part 3

By Steven Snell | Published May 20th, 2010 in News

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.

Visit Source.



Author: Steven Snell

Articles: Total of 7334 posts