Welcome Guest, Not a member yet? Register   Sign In
Where to place jquery or any other globally used JS/CSS in a multi site scenario?
#3

[eluser]Jake Grice[/eluser]
Usually with MVC wouldn't you have one main view file that is your site's template? This is where you include your CSS and everything. Also include jQuery! That's what I do on http://www.digitalsuccessgroup.net

I have one main view called 'main.' Then content is loaded into it by loading $this->load->view('content/somepage', '', true); into a var like $data['content'], which is passed into the 'main' view.


Messages In This Thread
Where to place jquery or any other globally used JS/CSS in a multi site scenario? - by El Forum - 02-07-2010, 09:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB