Welcome Guest, Not a member yet? Register   Sign In
Load Views Problem
#1

[eluser]breastfed[/eluser]
Hello

i am new to CI. I read Tutorials, did the Video Tutorial and read Board Threads but i can't figure out the Following:

I have a main Website Structure like this:

Code:
<html>
  <head>
    <title>domain.com - Title ##PageTitle##</title>
  </head>

  <body>

    <div id="menu">
      &lt;!-- Menu on each Page --&gt;
    </div>

    <div id="main">
      &lt;!-- Include the Content from each URL (e.g. /about, /blog, /contact, ...) --&gt;
    </div>

    <div id="footer">
      &lt;!-- Footer on each Page --&gt;
    </div>

  &lt;/body&gt;
&lt;/html&gt;

As you can see, i want to have a Basemenu-File and a Footer-File wich is included in each Page.

Now i want to load the Content of every Page instead of including whole Pages beginning with &lt;html&gt;.
Only Content wich is relevant to the URL.

I know that the views are the files which provides the Content and the Views are fed by the Controllers, but i can figure out how to solve my Problem.

Please help me out :/


Messages In This Thread
Load Views Problem - by El Forum - 01-16-2009, 03:58 AM
Load Views Problem - by El Forum - 01-16-2009, 04:51 AM
Load Views Problem - by El Forum - 01-16-2009, 08:32 AM
Load Views Problem - by El Forum - 01-16-2009, 05:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB