Difference between revisions of "Freeside:1.9:Documentation:Developer"

From Freeside
Jump to: navigation, search
(New page: = Introduction = Please consider sharing your modifications with the community and helping integrate them into the standard code! [http://freeside.biz/cgi-bin/mailman/listinfo/freeside-d...)
 
(Signup and self-service)
Line 9: Line 9:
 
= Signup and self-service =
 
= Signup and self-service =
  
You can of course customize the signup and self-service templates as well as plug into the self-service API from Perl, PHP or any other language via XML-RPC.  See the [[Freeside:1.9:Documentation:Developer/FS/SelfService|FS::SelfService API]].   
+
You can of course customize the signup and self-service templates as well as plug into the self-service API from Perl, PHP or any other language via XML-RPC.  See the [[Freeside:1.9:Documentation:Developer:SelfService|SelfService API]].   
  
 
There are notes for the existing [[Freeside:1.9:Documentation:Developer:signup.cgi|signup.cgi]], [[Freeside:1.9:Documentation:Developer:signup.html|signup.html]] or [[Freeside:1.9:Documentation:Developer:success.html|success.html]] as well.
 
There are notes for the existing [[Freeside:1.9:Documentation:Developer:signup.cgi|signup.cgi]], [[Freeside:1.9:Documentation:Developer:signup.html|signup.html]] or [[Freeside:1.9:Documentation:Developer:success.html|success.html]] as well.

Revision as of 17:28, 6 April 2010

Introduction

Please consider sharing your modifications with the community and helping integrate them into the standard code!

Subscribe to the freeside-devel mailing list. Send your changes as unified diffs (diff -u). If possible, send changes against current CVS HEAD and also any branch they should be applied to (i.e. FREESIDE_1_9_BRANCH, FREESIDE_1_7_BRANCH). However, if all you have is diffs against a release, well, probably best to send what you have rather than waiting.

Also note that the license requires that you provide source code if you provide hosted access to a modified Freeside instance.

Signup and self-service

You can of course customize the signup and self-service templates as well as plug into the self-service API from Perl, PHP or any other language via XML-RPC. See the SelfService API.

There are notes for the existing signup.cgi, signup.html or success.html as well.

Backend plugins

The backend code is structured to make it easy to add "plugins" of various types. You can easily add new price plans, new exports, event plugins (conditions and actions) and new kinds of service tables.

Price plans

Price plans

Exports

Exports

(Invoice) Events

Invoice events have been refactored in 1.9.x and are now just events. The new events have "Condition" and "Action" plugins.

Services

Service tables are fully "plug-in" able - just create the table (see "Schema changes" below) and define the %info hash.

Additional developer information

Schema changes

Schema changes - Quick documentation on how to make schema changes

Agent virtualization

Agent-virtualized config - Quick notes on how to agent-virtualize new parts of the configuration tables

API documentation

1.9 API documentation