PDA

View Full Version : Server module help



Gav
05-11-07, 03:30 PM
Hello, just a quick question about the server module template.

I can see that the variables are passed as $param["something"], for example for username it is $param["username"] etc, but how do you get Custom Fields that have been set up in products/services?

Any advice would be great

Thanks

trine
05-11-07, 04:03 PM
It depends on where you are trying to do this.

These variables are not assigned to all templates, so you may have to query for them.

Gav
05-11-07, 06:00 PM
Ah I see, so I need to query tblcustomfieldsvalues to use custom fields in function xxxx_CreateAccount($params)? Is there no easier way than that?

Is there no documentation on creating server modules? I have only been able to find info on creating payment and domain registrar modules :/