Welcome Guest, Not a member yet? Register   Sign In
Multiple Views & Dynamic Data
#1

[eluser]Freakish_05[/eluser]
Evening all,

Further to my thread about multiple smarty views with CI, I've ditched smarty is it seemed to make things far more complicated than using CI's views.

I how have a new problem....
My sidebars and navbars are very often run from databases and frequently use URL variables to return data.

What is the best method of doing this in CI? The php code obviously needs to run before CI outputs the final view.
If I understand the MVC approach correctly, I should be creating plugins for all of my sidebar elements and then wrapping them all up in an addtional plugin function which is called in each of my controllers.

All comments greatly appreciated,
Freakish_05


Messages In This Thread
Multiple Views & Dynamic Data - by El Forum - 08-08-2007, 11:27 AM
Multiple Views & Dynamic Data - by El Forum - 08-08-2007, 01:42 PM
Multiple Views & Dynamic Data - by El Forum - 08-08-2007, 07:14 PM
Multiple Views & Dynamic Data - by El Forum - 08-08-2007, 07:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB