Registration plugin for DJ-Classifieds
With registration plugin for DJ-Classifieds, you can overwrite regular Joomla registration and allow users to fill fields that will be then visible in their DJ-Classifieds profile.
The DJ-Classifieds registration solution comes with 2 plugins:
- plg_djcflassifieds_registration - main registration plugin. It's delivered with every DJ-Classifieds installation
- plg_djcflassifieds_acymailing.zip - allows adding user to AcyMailing during registration (This plugin works ONLY when AcyMailing component is installed and in use)
Active subscribers can download the The AcyMailing integration here.
I assume that you already have a running website with DJ-Extensions component and database of ads. If not, then first read the documentation and tutorials:
and tutorials about profile options:
- User profiles in DJ-Classifieds
- How to add custom fields to user profile
- How to add user profile picture/image/avatar
I’ll show you step by step how to set DJ-Classifieds registration plugin.
Setting up plugin
Now let's move on to the merits. Our registration form currently looks like that:
![](/templates/yootheme/cache/8e/registration-article04-8ee4a6e0.png)
and we want it to look like this:
![](/templates/yootheme/cache/16/registration-article05-167ec5b0.png)
![](/templates/yootheme/cache/a5/registration-article07-a5d7d3c0.png)
Here we have a new field, too. I want to add a new field in Profile and allow the user to fill this field during the registration process.
Go to Components-> DJ-Classifieds-> Fields and click New.
Set fields as follow:
![](/templates/yootheme/cache/f6/customfieldregistration-f603c38c.png)
![](/templates/yootheme/cache/db/registration-article10-dbab66a3.png)
Frontend view
As you can see, the plugin displayed a new registration look with profile field visible:
![](/templates/yootheme/cache/d3/registration-article11-d38e1862.png)
I don’t fill in the required field, so when clicked Save a message asking for the fill in missing information was displayed.
![](/templates/yootheme/cache/44/registration-article13-44719b07.png)
![](/templates/yootheme/cache/99/registration-article12-99daaa43.png)
OK, now profile have all required information. The profile looks like that:
![](/templates/yootheme/cache/a5/registration-article07-a5d7d3c0.png)
Acymailing support
In the registration form, you can see a new field available: Sign up for our newsletter. This is due to “plg_djcflassifieds_acymailing.zip”. Now anyone can opt into the newsletter during registering.
![](/templates/yootheme/cache/88/registration-article14-880a2430.png)