public function generate()
 {
     if (TL_MODE == 'BE') {
         $this->strTemplate = 'be_wildcard';
         $this->Template = new \BackendTemplate($this->strTemplate);
         $this->Template->title = $this->headline;
     }
     parent::generate();
     $objConfig = OwlConfigModel::findByPk($this->owlConfig);
     if ($objConfig === null) {
         return;
     }
     OwlConfig::createConfigJs($objConfig);
     $this->Template->class .= ' ' . OwlConfig::getCssClassFromModel($objConfig) . ' owl-carousel ' . OwlConfig::getCssClassForContent($this->id);
     $this->Template->syncid = OwlConfig::getCssClassForContent($this->id);
     return $this->Template->parse();
 }