dbFields = array( 'label'=>'Pages', 'homeLink'=>true, 'children'=>true ); } // Method called on the settings of the plugin on the admin area public function form() { global $Language; $html = '
'; $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; $html .= ''; $html .= 'getValue('homeLink')?'checked':'').'>'; $html .= ''; $html .= '
'; $html .= '
'; $html .= ''; $html .= 'getValue('children')?'checked':'').'>'; $html .= ''; $html .= '
'; return $html; } // Method called on the sidebar of the website public function siteSidebar() { global $Language; global $pages; global $Url; // URL base filter for categories $filter = $Url->filters('page'); // HTML for sidebar $html = '
'; $html .= '

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

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