Welcome Guest, Not a member yet? Register   Sign In
What's the right place to put this? Writing a CMS in CI.
#4

[eluser]simolokid[/eluser]
Yeah sorry, (Love your avatar btw =p ), I'll keep that in mind next time.

And that sounds pretty good, but how can MY_Controller access the view data? Right now, as im implementing stuff, the MY_Controller has a $data attribute that holds the page-meta data / menus and so forth, and per-page im calling
Code:
$this->data = ..
to add stuff, and then render it calling that same
Code:
$this->data
array.

Is this the best way? ;O


Messages In This Thread
What's the right place to put this? Writing a CMS in CI. - by El Forum - 05-27-2012, 01:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB