_basePath = $path; } public function render($content) { $view = $this->getElement()->getView(); $view->inlineScript()->appendScript(" var editor = new FCKeditor('" . $this->getElement()->getId() . "'); editor.BasePath = '" . $this->_basePath . "'; editor.ReplaceTextarea(); "); return $content; } }