View Single Post
  #1 (permalink)  
Old 06-24-2008, 09:02 PM
jplush76 jplush76 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Thumbs up How to handle modules with css/images?

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
and I have my modules in the application directory and the webroot directory is the doc root for apache. Where is the best place to put css/js files for the modules? I'd like to have all inclusive modules that contain their own js/css dirs.

so each module would be set up

Code:
/application
        /modules/
              /module1/ 
                   /controllers
                   /css
                   /controllers
                   /js
                   /models
                   /views

thanks
Reply With Quote