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,