Installation


Upgrades


DTC-Xen Installation


DTC-Xen / Dom0 Howtos

DTC-Xen / DomU Howtos

FAQ


DTC Howtos


Manuals


Features


Roadmap


Devel docs


Wiki - i18n


Wiki - Meta


Principles

(:tile General concept of he plugins in DTC :)

Each module defines himself in a specific folder:

   dtc/shared/dtcrm/modules/MY-REGISTRAR-MODULE-NAME/main.php

or:

   dtc/shared/securepay/modules/MY-PAYMENT-GATEWAY/main.php

Your main.php is responsible for doing the necessary require_once() calls that it needs. Do not do require_once() if not needed (eg: not including libraries if your module is not activated is a good idea). Just add your folder and main.php will be enough so that DTC loads your plug-in (there's no need to add an include).

If you are searching for how to make a "ftp" or "subdomain" stupid self-called plug-in architecture, that's not really the way DTC has been designed. DTC only uses plug-ins when necessary, even if there's a certain level of abstraction. Just have a look by yourself in dtc/shared/inc/forms.

Page last modified on July 16, 2010, at 07:09 AM EST