From 7f64c8d07b4cc47a96039a9553ddf70084bbac43 Mon Sep 17 00:00:00 2001 From: Jurian Sluiman Date: Sun, 29 Jul 2012 11:38:17 +0200 Subject: [PATCH] Prepend styles in layout When view scripts append styles for the headLink() helper, those are now really registered last. --- module/Application/view/layout/layout.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/Application/view/layout/layout.phtml b/module/Application/view/layout/layout.phtml index ee643f2..a26b180 100644 --- a/module/Application/view/layout/layout.phtml +++ b/module/Application/view/layout/layout.phtml @@ -9,9 +9,9 @@ headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/images/favicon.ico')) - ->appendStylesheet($this->basePath() . '/css/bootstrap.min.css') - ->appendStylesheet($this->basePath() . '/css/style.css') - ->appendStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css') ?> + ->prependStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css') + ->prependStylesheet($this->basePath() . '/css/style.css') + ->prependStylesheet($this->basePath() . '/css/bootstrap.min.css') ?> headScript()->appendFile($this->basePath() . '/js/html5.js', 'text/javascript', array('conditional' => 'lt IE 9',)) -- 1.7.10.4