P. 1


|Views: 806|Likes:
Published by Tonice Hendardianto

More info:

Published by: Tonice Hendardianto on Apr 24, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





If several contact forms are needed, you should think about the underlying structure. Similar to
article categories, it is possible to assign contact categories to menu items. As a result, you will see a list of
contacts assigned to that category. If you click on the name or the title of these contacts, you will see
more details and the form itself.
I have tried different scenarios with the contact component and the possibilities are amazing! As
everywhere in Joomla you have the option to create nested categories and different menu item types. In
options (Components - Contact - Options), you can, for example, configure the appearance of the contact
form (Slider, Tab, no formatting) and set an impressive number of other parameters.
As an example I have created a contact area for our company with three contact forms for different
kinds of inquiries and a contact form for each team member. By clicking on the links, the contact form
and additional details will appear (Figure 1).

Joomla! 2.5 - Beginner’s Guide

Monday, 30 January 2012

Page 159

Figure 1: Contact area

For this example, I have created two categories: cocoate and team. The team category is a sub category
of cocoate. It would have been possible to add an image and a description but I have decided to fill the
title field only (Figure 2).

Figure 2: Contact categories

For each contact form I need a contact with an email address. Contacts can be assigned to users or
stand alone. In this case, I have created three stand alone contacts related to the cocoate category without
linking them to a user. I have also created two contacts related to the team category and additionally
related to an existing user account (Figure 3).

Figure 3: Contacts

If any of the data changes, such as a phone number, for example, it would be nice for related users to
be able to make these changes directly from their user profile on the website without having to access the
administrator area. For this task Joomla provides the User-Profile plug-in. You just have to activate it in
Extensions - Plug-ins. In the user profile, a new area is displayed for the profile fields, which is connected to
the contact component.

Joomla! 2.5 - Beginner’s Guide

Monday, 30 January 2012

Page 160

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->