Saturday, 13 October 2007

How to install and use ExtJs with symfony

- in your project root directory, create a new directory called "js" (if it doesnt exist yet).
- copy all contents of the ExtJs archive into a subfolder of js called "extjs"
- in your application dir, open config/view.yml
- locate the javascripts: node and add extjs/ext-base.js, extjs/ext-all.js
- now reload a page of your application, both javascripts are included in the html head

1 comment:

Alex said...

you 're better off using the protoype adapter instead of the 'base' adapter. When you use a prototype function like 'link_to_remote' on your page, prototype will be in the way...