sidebar ispconfig.

Discussion in 'Plugins/Modules/Addons' started by pavelski, Sep 4, 2013.

  1. pavelski

    pavelski New Member

    hi guys.

    I'm developing a new theme for ispconfig, but I have a problem I can not solve.

    I intend to make a single side menu, which contains all options for all modules.

    in nav.php, we have the following command to invoke the side menu depending on the module you are accessing:

    ]) && $_GET['nav'] == 'side') {

    if(isset($_SESSION['s']['module']['name']) && is_file($_SESSION['s']['module']['name'].'/lib/custom_menu.inc.php')) {
    include_once($_SESSION['s']['module']['name'].'/lib/custom_menu.inc.php');
    } else {

    $app->tpl->newTemplate('sidenav.tpl.htm');


    Anyone have any idea how I can call all menu modules?

    eg:

    --SYSTEM
    |--- User management
    |-- CP Users
    |-- Remote users
    |--- System
    |-- Server Services
    |-- Server Config
    [...]

    -- CLIENTS
    |--- Edit Client
    |--- Add Client

    I appreciate if someone can help me
     

Share This Page