How to call category information on the discuzx2.0diy page

Source: Internet
Author: User
Discuz's DIY function is very powerful. it can be used to make personalized portals and implement many complex functions, such as real estate, recruitment, and second-hand transactions, many of my friends may have a problem. how can I call classification information on DIY pages? this problem has also plagued me. after research, I found the calling method.

Discuz's DIY function is very powerful. it can be used to make personalized portals and implement many complex functions, such as real estate, recruitment, and second-hand transactions.

During Discuz usage, many of my friends may encounter a problem: how can I call category information on DIY pages? this problem has also plagued me. after research, I found the calling method, now let's share it with you.

Step 1: Set the category information in the background of the Forum.

Step 2: Go to the forum management center and find: forum-category information-category management-enterprise recruitment (here I will take recruitment as an example)-details;


Find the fields you want to display on the DIY page, such as: recruitment enterprise, recruitment position, and recruitment quantity. click "Insert call" next to the fields ";



The calling code for this field is displayed in the "classification information module call display template" below this page:

{Zplxr }:[Zplxrvalue] [zplxrunit]

First, copy the code.

Step 3: Design the classification information display layout code in Dreamweaver, insert the code saved above where the classification information is to be displayed, and finally go to the "classification information module call display template.


Step 4: go to the DIY control panel at the front end, switch to advanced mode, insert the module, select Display class-static module, select the section where category information is located, and select category information, other settings can be set according to your actual requirements.


On this DIY page, you can call the category information and hope to help all the friends who are keen on Discuz,

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.