Welcome Guest, Not a member yet? Register   Sign In
How to call CI specific functions on view files?
#1

[eluser]cyberbuff[/eluser]
Hello,
I have a common header. I want to show some data to the view file (ie header_view.php). I can always pass data to it from controllers. but in that way, i am repeating myself a lot. Is there any way to call CI specific functions on view files?
Regards
Abhisek
#2

[eluser]missionsix[/eluser]
Are you inferring that you have common data being generated that gets displayed in the header file?

If so, you might want to have a look at this thread:

http://ellislab.com/forums/viewthread/89875/
#3

[eluser]cyberbuff[/eluser]
thnx missionsix, that is really helpful. I should have searched the forum with "dyanamic" or things like that.




Theme © iAndrew 2016 - Forum software by © MyBB