public function render() { $this->_preRender(); $this->modx->setPlaceholder('action', 'savetag'); $this->modx->setPlaceholder('formAction', $this->get('baseUrl')); $this->set('mainTemplate', 'tagform'); $this->_setLangPlaceholders(); return parent::render(); }
public function __construct(&$modx, &$xpdo) { parent::__construct(&$modx, &$xpdo); $this->set('template', 'eventform'); }