zend framework dojo resource configuration


/ Published in: PHP
Save to your folder(s)

these setting are not default created by zend tool but necessary for a dojo zf project.


Copy this code and paste it in your HTML
  1. resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
  2. resources.layout.layout = "layout"
  3.  
  4. resources.dojo.enable = true
  5. resources.dojo.djConfig.parseOnLoad = 1
  6. resources.dojo.localPath= "/js/dojo/dojo.js"
  7. resources.dojo.registerdojostylesheet = true
  8. resources.dojo.requireModule[] = "dojo.io.script"
  9.  
  10. resources.view.encoding = "UTF-8"
  11. resources.view.basePath = APPLICATION_PATH "/views/"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.