Jump to content
  • 0

nie działa menu kategorii i producentów na urządzeniach mobilnych


seboxp

Question

8 answers to this question

Recommended Posts

  • 0

A to kod z pliku php menu :

    /**
     * render menu tree using for editing
     */
    protected function ajxgenmenu(){  

        $parent                 = '1';
        $params = array('params'=>array() );
        /* unset mega menu configuration */
        if( Tools::getValue('doreset') ){  
            Configuration::updateValue('LEO_MENUSIDEBAR_PARAMS', '' );
        }

        $params['params']  =  Configuration::get('LEO_MENUSIDEBAR_PARAMS' );
        if( isset($params['params']) && !empty($params['params']) ){
             $params['params'] = json_decode( $params['params'] );
        }
        $obj = new Sbmegamenu($parent);
		$typesub = Configuration::get('LEO_MENUSIDEBAR_TYPE');
        $tree = $obj->getFrontTree(1, true, $params['params'],$typesub);
          echo '<div id="leo-verticalmenu" class="leo-verticalmenu leo-menubackend highlighted hidden-xs hidden-sm ">
				<div class="box-content">
					<div class="navbar navbar-default">
						<div id="verticalmenu" class="verticalmenu" role="navigation">
							<a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse" href="javascript:;">
								<span class="icon-bar"></span>
							</a>
							<div class="collapse navbar-collapse navbar-ex1-collapse">
                                '. $tree.'
							</div>
						</div>
                    </div>  
    				</div>	
    			</div>';

      
    }
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...