|
Using AcyMailing Enterprise (this feature has been added to AcyMailing 1.2.0), you can add extra fields to your subscription form, to the user profile on the front-end and on the back-end.
You will then be able to filter your users based on these fields or include these fields in a Newsletter.
You will also be able to import users with those fields and export the extra fields as well.
This system should meet most of your needs and enable you to create personal subscription form.
If you want to personalize more your subscription form, you can still integrate AcyMailing with a Form component using the subscription via URL.
In this article we will:
Create new fields on the AcyMailing User profile
- Log in on the back-end and access the AcyMailing Configuration page
- Click on the button Custom Fields to manage your fields

- You will be redirected to the custom fields area where you should see three fields by default : name, email and html (which are the fields used to display the name, email and receive html/text option)

- Click on the button "New" to add a new field

Create a phone number field
- We will create a phone number field so that users may enter their phone number to be contacted

- This field is a simple "Text" input so we selected the Field type "Text".
- We don't want this field to be required, users may subscribe without entering their phone number
- We want to publish this field and display it on the front-end profile and on the back-end profile
- Click on the button "Apply", the field will be saved and you will now see how the field will be displayed on the preview area.
- Once saved, you won't be able to change the column name of your field. You can still change its Label or any other information.

Create a Gender field
- We will now add a Gender field as our goal is to include in our Newsletter "Hello Mr John..."

- The Gender field is a single Drop-down.
- We will make it a require field so if the user didn't select any value, an error message will be displayed
- We add a series of values (the first option has a title but no value so that if this option is selected, which is the case by default, the form won't be submitted as it's a required field)
- We click on the "Apply" button to check how the field looks like.

Create an information field
- We will now create an information field. We will nevertheless make sure this field is published but only displayed on the back-end as our goal is simply to add information about the user if we contact him.

Order my fields
- You should now see your three new fields on the Fields interface and you can change the ordering of your fields to meet your needs.

- We didn't want to display the default field receive Text/HTML on our front-end interface so we unpublished it as you can not delete a core field.
Display these fields on the Back-end User profile
- Our fields are now added and the published fields will be displayed on the User back-end profile if you selected so.
- The Core fields will be always displayed on the back-end profile even if they are unpublished.
- There is no check on the fields on the back-end so you can really add any value you want and even leave the required fields empty.

Display these fields on the Front-end User profile
- Based on the options you selected, the fields will be added or not to the user profile on the front-end.
- This profile can be accessible when the user clicks on the link "Modify your subscription" in the Newsletter or if you display this page to subscribe your users.
- If you only use this page to modify the subscription of the user, you can even remove the e-mail field to not give the possibility to your users to modify their e-mail address.

Display these fields on the Back-end User Listing
- The same way, you can also modify your Back-end User listing to display the information you want.
- The published fields with the option "Back-end Listing" enabled will be displayed on the AcyMailing User listing.
- You will be able to search in the fields and order them the way you want.

Display these fields on the AcyMailing Module
- You probably realized that there is no option on the field interface to add the field on the AcyMailing module.
We didn't add it to our interface as you can duplicate the AcyMailing module and each module will be independent so we took the decision to add the field selection on the module parameters themselves.
- Log in on the back-end and access the Joomla Module manager

- Edit your AcyMailing module

- You will find a parameter "Displayed fields".

- Click on the button "Select" to display all your of available fields and select the ones you want to include in your module

- Select the fields you want to add to your module and then click on the "Apply" button.
- Save your module to see the new fields on your module.

- You can off course add any other field and display them the way you want (text outside the field, inside the field...)
|
|
Last Updated on Thursday, 08 July 2010 00:41 |