dbFields = array( 'label'=>'Categories', 'showCero'=>false ); } // Method called on the settings of the plugin on the admin area public function form() { global $Language; $html = '
'; $html .= ''; $html .= ''; $html .= ''.$Language->get('Title of the plugin for the sidebar').''; $html .= '
'; $html .= '
'; $html .= ''; $html .= ''; $html .= ''.$Language->get('Show the categories without content').''; $html .= '
'; return $html; } // Method called on the sidebar of the website public function siteSidebar() { global $Language; global $dbCategories; // HTML for sidebar $html = '
'; $html .= '

'.$this->getValue('label').'

'; $html .= '
'; $html .= ''; $html .= '
'; $html .= '
'; return $html; } }