protected function _initFields() { parent::_initFields(); $this->add($this->_createChildComponentForm('-image')); $fs = $this->add(new Kwf_Form_Container_FieldSet(trlKwf('SEO, Open Graph, Sitemap'))); $fs->setName('customMetaTagsFieldSet'); $fs->setCollapsible(true); $fs->setCollapsed(true); $fs->add($this->_createChildComponentForm('-customMetaTags')); }
protected function _initFields() { parent::_initFields(); unset($this->fields['publish_date']); if (isset($this->fields['expiry_date'])) { unset($this->fields['expiry_date']); } $this->add(new Kwf_Form_Field_DateTimeField('start_date', trlKwf('From')))->setAllowBlank(false); $this->add(new Kwf_Form_Field_DateTimeField('end_date', trlKwf('To'))); $this->add(new Kwf_Form_Field_TextField('place', trlKwf('Place (City)')))->setWidth(300); }
protected function _initFields() { parent::_initFields(); $this->add($this->_createChildComponentForm('-image')); }