PHPCMS Quick Build Station series of online message

Source: Internet
Author: User

There are two ways

The first method:

Using the message board plug-in, in the background template, the installation of the message Board plug-in use, here first do not expand.

The second method:

Application Scenarios for the Form Wizard:

If a foreground page is just for submitting form data, then it is very suitable for the functions of the Form Wizard, such as the following message board case; If a foreground page is not just for submitting a form, it also requires that the content of the submission form be displayed on the current foreground page, which is not appropriate for the Form Wizard. More suitable for installation as a module or plug-in, such as the front page needs to display user message information situation

As follows:



1, enter "module"


2. Select the Form Wizard

3, click "Add Form Wizard" in the "name" fill the "message board", and then "table name" fill in "Liuyanban", and then "allow visitors to submit form" column Select "Yes". OK again.

4, this time there is a "message board" information, and then we found in the following "add field."


5, click "Add Field" in the first row "field type" selection, we generally see the message board the first column is "title" Right, and "title" is a "single line of text", then we also choose "Single line of text." Then the second column "field type", here is the table name placed in the database, used to hold the "title" data, then I will fill in a "title" Pinyin abbreviation: Biaoti. Next is the field alias, and we'll just write "title". The following is the "field hint", here can not fill, but in order to let users better experience, we still fill in a hint is better, fill in the "Please fill in the title." The following is the "related parameters" fill in, "title" text box length is generally filled with 50 bar, the default value can be written to write. Then the others will be used in the tube, submit it directly. After the submission, we will find that the field we have just added has come out, we can click on the "Preview" button above to see the effect, how? Is there an input box that fills in the title?

6, Next we continue to add fields, according to our needs, we add: message people, gender, contact phone, message content and other fields. Note that like "message person" and "contact phone" When you select a field type, you can select single line of text as "title", "Gender" selects "Options" when selecting a field type, and "message content" to select "Multiline text" or "editor".


7, after all the fields have been added, we go back to "module" under "Form Wizard" here. We can see in the "message board" is not a "call" script, we put this script in our production of the Message Board template page can be used Oh ~ ~

The same is true: we can also make some other forms of our own play.

Excerpt from: http://blog.csdn.net/yanhui_wei/article/details/7942438

Phpcms Quick Build Station series online message

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.