How to set dojo theme correctly using zend framework and Google CDN?
- by Nazariy
I'm trying to add Dojo Toolkit to Zend Framework application, in my Bootstrap.php I defined following settings:
protected function _initDoctype()
{
$this->bootstrap('view');
$view = $this->getResource('view');
Zend_Dojo::enableView($view);
$view->doctype('XHTML1_STRICT');
$view
->headLink()
->appendStylesheet('/assets/css/global.css')
;
$view
->dojo()
->enable()
->setCdnVersion('1.5')
->addStyleSheetModule('dijit.themes.claro')
;
}
All JavaScript functionality included correctly and working fine, however styling of forms and other widgets looks incomplete, no background,no images and no text styles, just basic layout defined.
Did I missed something here?