IT in Education

What are Joomla Contacts?

joomlaContacts in Joomla allow you to manage contact details for individuals related to your school. These can be students, parents, external companies, staff etc. You can also link Contact information to your Users. This article describes how to get started with Contacts.

User - Contact Creator

By default, Users are not linked to any Contacts. The User - Contact Creator plugin enables the automatic creation of a linked Contact, whenever a User account is created.

  1. Go to System > Plugins.
  2. Open the User - Contact Creator plugin for editing.
    1. Category: Select the Contact Category that you would like your automatically created contacts to be in (e.g. Uncategorised).
    2. Automatically Publish the Contact: Enable this publish new contacts automatically created.
    3. Status: Set this to be enabled.
  3. Click the Save & Close button.

Now when you create new users, they will automatically have a Contact associated with them. This is preferable to creating User Custom Fields for addresses for example.

New Contact

Contact details are not just for Users. You might need to create new contact details for other individuals.

  1. Go to Components > Contacts > Contacts.
  2. Click the + New button. 
    1. Name: Enter the full name of the contact.
    2. All other information is optional.
  3. Click the Save & Close button.

Bulk Import

You can bulk import contacts if you have a .csv file of their details.

  1. Access your database using phpMyAdmin.
  2. Select the xxxxx_contact_details table.
    1. Select the Export tab.
    2. Format: Choose CSV.
    3. Click the Go button.

You will now have a template CSV file that you can use.

  1. Leave the first row headings
  2. Delete all existing contact details.
  3. Add your bulk import details.

Note that the only required field is Name.

Make sure that you have a backup of your website, or at least the xxx_contact_details table, before performing this next step.

  1. Access your database using phpMyAdmin.
  2. Select the xxxxx_contact_details table.
    1. Select the Import tab.
    2. Click the Choose file button, and browse to your newly created .CSV file.
  3. Click the Go button.

I found that using this method, the first row was added as a contact, but this was easy to delete in phpMyAdmin

Thanks for visiting,