Events registration

Discussion in 'Developers' Forum' started by Blackbit, Feb 25, 2011.

  1. Blackbit

    Blackbit New Member

    Hi all,

    it was no problem to implement new features to the interface. Alle values are saved and modified and so on. Now i am trying to figure out how the plugins has to be named in server/plugins-enabled/.

    My plugins arent executed:
     function onLoad() {
                    global $app;
                    Register for the events
            function htaccess_insert($event_name,$data) {
                    global $app, $conf;
    The log entry "htaccess_insert" is not found in the logs. What are the naming conventions here, or do i have register my plugins somewhere else?
  2. Blackbit

    Blackbit New Member

    Found the solution

    I forgot to define the announcement and table-hook in /usr/local/ispconfig/server/mods-(available/enabled) to react on table-modifications. :)

Share This Page