Where to place jquery or any other globally used JS/CSS in a multi site scenario? |
[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-06-2010, 11:12 PM
Where to place jquery or any other globally used JS/CSS in a multi site scenario? - by El Forum - 02-07-2010, 09:05 AM
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
Where to place jquery or any other globally used JS/CSS in a multi site scenario? - by El Forum - 02-07-2010, 01:13 PM
Where to place jquery or any other globally used JS/CSS in a multi site scenario? - by El Forum - 02-07-2010, 03:29 PM
|