Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the directory "/modules/servers/freenas".
  2. Create the file customconfig.php, or open the file, if it already exist.
  3. Insert following code:
Code Block
languagephp
<?php

if (!function_exists('freenas_customButtons')) {
    function freenas_customButtons ($params) {
        return "<a href='clientsservices.php?id={$params['serviceid']}&do=doSomething'>Do Something</a>";
    }
}

...