Welcome Guest, Not a member yet? Register   Sign In
Redundancy on HTML
#1

[eluser]Unknown[/eluser]
Dear members of this community,

Since i`m new to CI, i`m not sure whether im approaching my project right. But before i start, i would like to point out that i enjoy working with CI!

Anyway, i have a question regarding semi static HTML output. For instance is it possible to have a static HTML document which loads automatically?

Because, obviously have some static html pages which have to be loaded every time. And since i have to run $this->load->view(); on every function, i wondered if there is a way to 'bypass' this.

My doctype, my meta and css styles dont have to called everytime right? I was wondering if there could be some sort of MAIN controller which could load everytime and within this main controller, you can give some parameters regarding the page you need. This would reduce code and im pretty sure it`s a feature somewhere within CI, or otherwise a certain approach to it, but i can`t figure it out.

So if any of you could help me understand how it works, i would really appreciate it!

With kind regards,
James Lewis


Messages In This Thread
Redundancy on HTML - by El Forum - 09-13-2009, 10:38 AM
Redundancy on HTML - by El Forum - 09-13-2009, 10:56 AM
Redundancy on HTML - by El Forum - 09-13-2009, 12:00 PM
Redundancy on HTML - by El Forum - 09-13-2009, 03:13 PM
Redundancy on HTML - by El Forum - 09-13-2009, 04:01 PM
Redundancy on HTML - by El Forum - 09-13-2009, 11:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB