Sep.02

How to add Style and Javascript pages on Symfony

Config_file_for_Scripts

We have the config file for including our styles and script file on symfony project.
which is View.yml file contained on Config folder.

Config/view.yml

Example :
stylesheets: [theme-brown0.0.1/main.css, theme-brown0.0.1/superfish.css, ui-smoothness/jquery-ui-1.8.2.custom.css, blueprint/plugins/buttons/screen.css, blueprint/screen.css,pharmacy.css]

 

javascripts:    [jquery-1.4.2.min.js,jquery-ui-1.8.2.custom.min.js,hoverIntent.js,superfish.js,supersubs.js,jquery.qtip-1.0.min.js,main.js,jquery.validate.min.js,jquery.tablesorter.min.js,functions.js,prototype.js, script.js,tiny_mce/tiny_mce.js,validation.js,scriptVar.js,pharmacy.js,validationPharmacy.js,pcsnepaliunicode.js]

Share this Story:
  • facebook
  • twitter
  • gplus

Leave a comment

Facebook Comment