Welcome Guest, Not a member yet? Register   Sign In
template sturcture help
#1

[eluser]Unknown[/eluser]
hi , i am new to this framework ,
can anyone suggest me how to develop an site suing this framework ...
i have gone throw the userguide,
i have problem in templating ....
some suggestions would work fine Smile
thanks anyways ...
#2

[eluser]JasonS[/eluser]
There is nothing wrong with the standard code ignitor layout of MVC.

I personally lay out my view files a little differently.

i.e.

Views
-- header.php
-- footer.php

-- controller 1
---- Controller File
---- Controller File

This structure helps a lot with organisation.

I don't see why you would be having troubles with templating. Have a look at the welcome.php file. That has an example of loading a view in action. If your getting errors or have a specific problem can you expand a little please.




Theme © iAndrew 2016 - Forum software by © MyBB