CSS and JavaScript files order in Zend Framework templates
Posted by evolic | Posted in Programming, Web development | Posted on 07-06-2013
Tags: CSS, EN, headLink() helper, headScript() helper, HTML document, JavaScript files, offsetSetFile(), offsetSetStylesheet(), templates, view layer, Zend Framework, zf2
2
Today I would like to focus on one thing in Zend Framework (no matter if I talk about version 1.x or 2.x).
There is a problem with positioning CSS and JavaScript files in templates (using headLink() and headScript() helpers). I will demonstrate it in below samples and give the solution for that situation.
So let’s begin!