signupFormUpdateColor
public static boolean signupFormUpdateColor(string token, SignupFormColorStructure signupFomrColor)
Update Colors,background and font of an existing SignUp Form based on the details provided. Return Boolean value true if SignupForm updated.
Parameters
|
string token | A valid token for your account. To generate a token, use the login method. |
string signupFormID | ID of the signupform which you want to update. |
array signupFomrColor | The array containing the signup Form details.
string border | Border of the signup Form. | string headerBackground | Background of the header of the signup Form. | string header | Header of the sign up Form. | string formBackground | Background of the signup Form. | string form | | string paraBackground | Background of the signup form paragraph. | string headerFont | Font face of the signup form header. | string headerSize | Font Size of the sign form header. | string formFont | Font face of the signup form. | string formSize | Font Size of the sign form. | string paraFont | Font face of the paragraph of the signup Form. | string paraSize | Font Size of the paragraph for the signup form. | string button | Url for the customize button. | string logoAlign | Allignment of the logo on the singup Form. | string titleAlign | Allignment of the title on the signup Form. | string introAlign | Allignment of the introduction on the signup Form. | string buttonAlign | Align Ment of the Button on the signup Form. | string width | Width of the signup Form. |
|
Returns |
string | Returns true if SignupForm updated else false. |
- <?php
- /**
- This Example shows how to authenticate a user using XML-RPC.
- Note that we are using the PEAR XML-RPC client and recommend others do as well.
- **/
- require_once 'XML/RPC2/Client.php';
- require_once 'inc/config.php';
- $client = XML_RPC2_Client::create($apiURL);
- $token = $client->login($apiLogin, $apiPassword);
-
- $signupFomrColor['border'] = '1';
- $signupFomrColor['formFont'] = 'Arial';
- $signupFomrColor['formSize'] = '25';
- $signupFomrColor['introAlign'] = 'Middle';
- $signupFomrColor['formBackground']='#ff0000';
- $signupFomrColor['headerFont'] = 'sans-serif';
- $signupFomrColor['headerSize']='14px';
- $signupFormID='484';
- $retVal = $client->signupFormUpdateColor($token, $signupFormID,$signupFormColor);
- ?>