I need my stylesheet to have an ID so that I can swap its href using JavaScript however ZF does not seem to support this.
Code: Select all
//This way has no ID parameter
$this->headLink()->appendStylesheet();
//This just blindly ignore both the id and type settings
$this->headLink(array(
'rel' => 'stylesheet',
'type' => 'text/css',
'id' => 'themecss',
'href' => '/kodify/themes/' . $this->theme . '.css'
));