How to set DiscuzX2/X3 category information

Source: Internet
Author: User
The Discuzx2.5 classification information usage tutorial has made great improvements. compared with the previous section, the Discuzx2.5 classification information List page template is more powerful, and the DIY template is added, which allows you to call the classification information fields in the portal. I remember that the pseudo-static category information was greatly improved when I saw it on the dz official demonstration site, the use of Discuz x2.5 category information has greatly improved the tutorial because it cannot be set to pseudo-static locally. compared with the previous section, the Discuz x2.5 category information List page template is more powerful and the DIY template is added, you can call the category information field in the portal. I remember that when I saw it on the dz official demo site, the pseudo-static feature of the category information was greatly improved. The local configuration of the pseudo-static feature could not be set, so I could not test it. I will test it later and share it with you.
The creation and use of Discuz x2.5 category information involves three parts:
Backend -- Forum -- category information -- field management;
Backend -- Forum -- category information -- category management;
Backend -- Forum Management -- edit Forum -- others -- category information.
To make a complete classification information, you must make reasonable planning on the premise. while reducing user costs (easy to post, etc.), you can make the information comprehensive and beautiful, we recommend that you make plans based on some mature classified information websites, such as the Discuz Template area, 58 city, and Dibao network.

I. add category information fields


The category information field includes the field name, field variable name, and field type. When adding A field, A field under the category information must be placed under A category. for example, we add all the fields under Category. 1. a field variable may consist of letters, numbers, underscores (_). 2. commonly used field types, numbers, single choice, multiple choice, and strings. In this case, we will focus on the two advantages of the string type. ① you can set information protection and ② you can associate the initial values of the related User column, as shown in:




2. add a category in classification information management. in classification management, add a category first. for example, add a name: websiteconnoisseurs, add a description: websites' casual dating use, and then submit the information.



Click details next to the submitted category to enter and select the category of the category information field. for example, if we add A field under Category A, select Category A. The added fields are displayed, and then select settings. Form search, text search, and topic display are mainly used for displaying and searching on the list page.




3. edit the associated category information in the forum



Back-end -- Forum Management -- edit Forum -- others -- category information, select the category information we just completed [website dating], and enable the default display category as needed: Yes, the "post" menu is displayed with a check box.
IV. category information templates include Post page templates, list page templates, Post page templates, and DIY call templates. different templates can help you achieve different beautification functions, later, we will share three templates for different classification information beautification for your reference.
5. category information foreground effect and background setting Category information details: 1. Form search, 2. text search, 3. topic display, as shown in:




6. DIY call of classification information 1. DIY call method at the front end: DIY -- advanced mode -- Module -- Display class -- static module -- Classification Information



2. the category information template of DIY is to set a category information template in the background-Forum-category information-template-DIY template. Only one DIY category information template can be created, which may be a simple limitation of category information, but it is very powerful.


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.