Exemple #1
0
 function __construct($params)
 {
     $params->set('gkmenu', 1);
     parent::__construct($params);
     $doc = JFactory::getDocument();
     $doc->addStyleDeclaration('.gkcol { width: ' . $this->getParam('menu_col_width', 200) . 'px; }');
 }
Exemple #2
0
 function __construct($params)
 {
     $params->set('gkmenu', 1);
     $template_params = JFactory::getApplication()->getTemplate(true)->params;
     parent::__construct($params);
     $doc = JFactory::getDocument();
     $doc->addStyleDeclaration('
   		.childcontent { padding: ' . $template_params->get('submenu_padding', '16px') . '; }
     	.childcontent .gkcol { width: ' . $this->getParam('menu_col_width', 200) . 'px; }
     ');
 }
Exemple #3
0
 function __construct($params)
 {
     parent::__construct($params);
     //To show sub menu on a separated place
     $this->showSeparatedSub = true;
 }
Exemple #4
0
 function __construct($params)
 {
     $params->set('gkmenu', 1);
     parent::__construct($params);
 }