|
|||
|
curious what has been the best approach when a module has it's own set of JS/CSS files?
If I use a standard ZF framework setup with Code:
/myApp/
/application/
/library
/webroot
so each module would be set up Code:
/application
/modules/
/module1/
/controllers
/css
/controllers
/js
/models
/views
thanks |
|
|||
|
If you put the css, javascript, and images outside the webroot you'll need a special handler to get their content. For example, I dont' think you can do
Code:
<link href="pathToCssFile.css" rel="stylesheet" type="text/css" /> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|