Welcome Guest, Not a member yet? Register   Sign In
display same data from db automatically across multiple views - single function
#3

[eluser]martynrlee[/eluser]
Thanks techgnome,

Thats really useful, I like the idea of extending the controller.

Using this method though, would I not need to add something within every function (in each controller) like:

$data['show_contact_info'] = true; ?

What I am trying to acheive is a way to use this single script for the whole controller, rather than having to add a script to each function - is this possible using your suggested method?


Messages In This Thread
display same data from db automatically across multiple views - single function - by El Forum - 12-06-2010, 08:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB