Joomla教程-如何配置一个联系人表单

一个单一的联系人的配置可能似乎是一个有点复杂,因为有大量的参数来配置,但如果你仔细看看他们,你会发现它很简单。

首先,你必须创建一个新的联系人,并收集你的联系信息。

导航-组件- >联系人并单击“新建”按钮。

您将看到许多设置的标签:

Joomla学习

顺便说一下,创建新类别的组件- >类别

Joomla学习

在Joomla联系表

Joomla学习

  1. 你可以用任何Joomla用户链接到这里,这是一个关联用户按钮。
  2. 而不是写关于你的信息,有一个选项,进入一个链接到一篇文章,从你的网站。你也可以包括一个图像。

 发布选项

开始和整理发布可能是有用的,以防您需要创建临时联系人,不想关心启用或禁用特定联系人的日期。

Joomla学习

Joomla的接触形式的细节

这是最重要的部分。有很多领域填补空一场,但你不需要显示。他们中的大多数是可以理解的,但最后3个可能似乎是混乱的。
使用第一个排序字段,第二个排序字段,第三个排序字段选项,您可以从特定类别中的联系人进行排序。

例:

假设你有很多接触,希望diplsay联系人所选类别的列表。   

创建菜单类型:

Joomla学习

and list of contacts displayed.

And now you would like to sort all contacts by your own filters.

I will show you how it works using administrative division since filters may be nested.

Contact 1

Joomla学习

Contact 2

Joomla学习

Contact 3

Joomla学习

The list of contacts will use an alphabetical order, so Contact 3 will be 1st one on the list, then we will see Contact 1 and Contact 2.

JOOMLA CONTACT FORM DISPLAY OPTIONS

Here you can determine what info should be visible on your contact page.

The configuration will be applied to the specific contact but you can also specify global configuration for all contacts in Components -> Contact

Joomla学习

This way is time saving since your contacts will use global settings unless you change them in the specific contact or the menu item configuration.

I will describe several interesting settings of display options.

Joomla学习

  1. Show Contact List allows to display selectbox with all contacts from selected category above the contact.
  2. You can determine the style of displaying sections of your contact (sections like Contact, Contact Form, Links, Miscellaneous Information) with Display Format. Availabe styles: tabs, slider or plain text.
  3. You can give the possibility to export your contact details to vCard format.
  4. Show User Articles allows to display a list of articles that were created by the user mapped to the contact.
  5. Show Profile works in the similar way as the above option and displays the profile of the user.
  6. Show Links relates to Link A Label and Link A URL fiields and so on. If you enable this option and enter any URLs like profile links for Facebook or Twitter, the new tab with those links will appear in your contact.

JOOMLA CONTACT FORM

Joomla学习

  1. Allow a submitter to get a copy of sent mail.
  2. Banned Email, Banned Subject, Banned Text may help you to reject receiving messages from specified e-mail addresses, entered text or subject. Session Check if set to Yes users without cookies enabled will not be able to send emails.
  3. Turn on or off the custom message reply to contact form's submitter.
  4. If you want to redirect a submitter to any other site page after sending a message, enter alternative URL.

At the global configuration you can also enable Captcha on Contact to prevent spammers.

Joomla学习

Then you have to go to Extensions -> Plugins to supply required information for the plugin (public and private key).

Then make sure you've got selected ReCaptcha on Global Configuration -> Site -> Site Settings

And the last very important settings that must be configured correctly to send mails is Mail Settings on Global Configuration -> Server

 

Joomla学习