Phpcms V9 can easily make a message board without a plugin

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Believe that a lot of phpcms v9 webmaster are not programmers, and I am also a web designer, so the template can still be dealt with. But a design to write their own program, the first two big. Before the company's website is used to find someone else to do with Dede CMS, and then I took over when found inside the template messy, so decided to a facelift. Search on the Internet to search the CMS program, generally said phpcms than dedecms to more advanced, so resolutely chose the phpcms of the new version of V9. The installation is still good, everything is fine. Later in the production of the message board, I did not see this template, looking for a lot of places, even links and votes such templates have. I wonder why there is no message board, this is the basic requirements of the site AH. Then I went to Baidu Ah, Google search. Found that there is a message board of Plug-ins, is not officially developed, remember to get a ask the plug-in to do the head is big, resolutely decided not to, do not need it, also no big deal.

Coincidentally, a few days ago the company another site also decided to revision, I think still use this set of procedures, after all, familiar with, just go back to the background again. Accidentally found that there is a "Form Wizard" This template, has been used before, do not know what to do. See it Anyway, just go in and see what it is. Add a Form Wizard, and then follow step by step, I get more and more excited, this is not a form to submit the function?? Sure enough, after adding a few fields to confirm my idea. Originally this is can make the message function template, Khan!!! It is I have not been the "form" and "message board" together, the development of PHPCMS staff is also, how not for the sake of others, only programmers can be "form" and "message board" function to a bar.

  

OK, nonsense so much, see the topic, I will demonstrate the following how to make a message board.

1, enter "module"

  

2, select the Form Wizard

3, click the "Add Form Wizard" in the "name" filled "message board", and then "table name" filled with "Liuyanban", and then "allow visitors to submit form" column Select "Yes". Be sure.

4, this time there is a "message board" information, and then we find "add Field" later.

  

5, point "add Field" in, the first line "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 text." Then the second column "field type", here is placed in the database of the table name, used to store "title" Data, then I fill in a "title" phonetic abbreviation: Biaoti. Next is the field alias, so let's just write the title. The following is "field hint", here can not fill, but in order to let the user experience, we still fill in a hint better, fill in the "Please fill in the title." The following is the "relevant parameters" of the Fill, "title" text box length is generally filled with 50 bar, the default value can not write. And then the rest of the tube, directly submitted it. After the submission, we will find that the field has just been added out, we can click on the "Preview" button to see the effect, how? There is a fill in the title of the input box.

6, Next we continue to add fields, according to our needs, we add: message person, gender, contact telephone, message content and other fields. Note like "Message person" and "contact phone" When you select a field type, you can select single line of text, gender when selecting a field type, and message content to select multiple lines of text or editor.

  

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

The same reason: we can also play their own production of some other forms, such as our Shanghai Jie Kang Oral hospital similar "online booking" template and so on, thanks to the www.jkkq.cn webmaster feeds!

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.