protected function _tagwidget() { //don't close out the li if (!$this->isMediaWidget) { return parent::_tagwidget(); } }