Plugin Hooks?

Discussion in 'Developers' Forum' started by BorderAmigos, Jan 3, 2011.

  1. BorderAmigos

    BorderAmigos New Member

    I do several additional steps after I create a new site. These can all be done from a script if the domain name and directory locations can be passed to it. Is there a hook that can call an external script at the end of ISPConfig 3 creating a new site? Like a plugin or mod. Thanks.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This can all done by a script. Create a new server plugin and attach it to the events for website insert and update. As a start I recommend to look at the apache plugin to get the event names. The name of your plugin should be after the apache plugin when you order it alphabetically. Otherwise your plugin would be executed before the website gets created.

Share This Page