Knowledge Base/PICnet Products/J!Salesforce

Configuring your Registration and Profile Editing Forms

Tim Forbes
posted this on December 14, 2009 12:13 pm

In order to customize the fields displayed for both your user registration form and the profile editing form on the front-end of your Joomla site, youíll need to make the following configuration changes to the default files provided in the J!Salesforce package. The user.xml file holds this important configuration for your J!Salesforce installation.

1) Editing the registration and profile editing forms

Edit the user.xml file, which you'll find in your Joomla installation by using your FTP or SSH client under ì[pathto- joomla-root]/plugins/system/usermeta".

By default, the contents of the user.xml file will look like this:

<params> </params> <params group="usermeta"> <param type="text" name="MailingStreet" default="" label="Street Address" /> <param type="text" name="MailingCity" default="" label="City" /> <param type="text" name="MailingState" default="" label="State" /> <param type="text" name="MailingPostalCode" default="" label="Zip" /> </params>

The four lines that start "<param type>"correspond to four fields in Salesforceís Contacts object, and can be copied as examples for any additional field youíd like to add. You can add any fields from the Contacts object to your Registration and Profile Editing pages, using a standard Joomla! parameter type (ìtypeî), the name of the Salesforce field (ìnameî), the default value you would like displayed (ìdefaultî), and the label you would like used for the field (ìlabelî).

You can delete any of the default fields by deleting the corresponding line in the xml file.

 
Topic is closed for comments