Module implementation

Discussion in 'Developers' Forum' started by me_how, Apr 10, 2019.

  1. me_how

    me_how New Member

    Hello

    Is it possible to create and implement my own module so that it is visible after ip updates?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Custom modules do not get overwritten on update.
     
  3. me_how

    me_how New Member

    But they disappear from the list of visible modules in the default template. What should I do to keep my module visible after the update.
     
  4. Jesse Norell

    Jesse Norell Well-Known Member

    Some changes to /usr/local/ispconfig/lib/config.inc.php survive ISPConfig updates, and some do not, including that list of modules; you need to copy the config lines from config.inc.php to config.inc.local.php for that, eg.:
    Code:
    # cat /usr/local/ispconfig/interface/lib/config.inc.local.php 
    <?php
    
    // Local ispconfig config overrides
    
    $conf['timezone'] = 'America/Denver';
    
    // disabling help module
    $conf['modules_available'] = 'dashboard,admin,mail,sites,monitor,client,dns';
    $conf['interface_modules_enabled'] = 'dashboard,mail,sites,dns,tools';
    
    ?>
    
     

Share This Page