1.Enable the view to use Dojo
public function init() { Zend_Dojo::enableView($this->view); }2.Configure the Dojo in the view
$this->view->dojo()->enable(); $this->view->dojo()->setDjConfig(array("parSEOnLoad"=>true,"async"=>true)); $this->view->dojo()->setCdnVersion("1.8.1"); $this->view->dojo()->setCdnDojoPath('/dojo/dojo.js');原文链接:https://www.f2er.com/dojo/291492.html