Welcome Guest, Not a member yet? Register   Sign In
creating page fragments
#1

[eluser]deineMudder[/eluser]
hello again Wink
compliments first: the more i use CI the more i love it, its a wonderful framework and really speeds up coding.

tho, here is my question.
my controller 'user' got the following functions (search/list/add/edit/delete).
i guess the basic modes for a cms. there is a html template creating a basic table layout to sort all elements on the page ... just like this

Code:
<table>
<tr><td colspan="2">(header)</td></tr>
<tr><td colspan="2">(buttons - navigation for add/search/list ...)</td></tr>
<tr>
  <td>(cms navigation - user, article, gallery ...)</td>
  <td>(content area - forms for editing, adding ...)</td>
</tr>
</table>

i hope u got the idea of it. what i am missing now are the basic includes Wink back in old times before CI i just included my 2 navigations.
to use the same view i would pass a variable to the view and switch it in the content area.
tho id like to include the 2 navigations.

any ideas to make it the right way?


Messages In This Thread
creating page fragments - by El Forum - 06-24-2007, 01:42 PM
creating page fragments - by El Forum - 06-24-2007, 08:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB