Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter and layouts?
#3

[eluser]NachoF[/eluser]
But thats not what I want.... if you watched the video you noticed he added javascript in the view file and then it got automatically added inside the head element... I dont want to have to be creating new javascript files for every view that is gonna have some custom behavior.. I just want my views to look something like this


//a way to define where this should be written
Quote:[removed]
//some javascript here
///////
[removed]
<form>
//some form here
</form>
[removed]

I have experience in both Ruby on Rails and asp.net-MVC and they both allow this... this is so frustrating[code]


Messages In This Thread
CodeIgniter and layouts? - by El Forum - 06-02-2010, 08:15 PM
CodeIgniter and layouts? - by El Forum - 06-03-2010, 12:02 AM
CodeIgniter and layouts? - by El Forum - 06-03-2010, 02:49 PM
CodeIgniter and layouts? - by El Forum - 06-03-2010, 03:22 PM
CodeIgniter and layouts? - by El Forum - 06-03-2010, 07:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB