How to set dojo theme correctly using zend framework and Google CDN?
Posted
by
Nazariy
on Stack Overflow
See other posts from Stack Overflow
or by Nazariy
Published on 2011-01-01T22:07:00Z
Indexed on
2011/01/02
1:53 UTC
Read the original article
Hit count: 550
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?
© Stack Overflow or respective owner