Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Dream weaving the method of calling the article of the question and answer column to the home page

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The editor will share with you the method of weaving dreams to call the question and answer column articles to the front page. I hope you will gain a lot after reading this article. Let's discuss it together.

Dream weaving how to call the question and answer column articles to the home page?

Dream weaving DEDECMS calls the question and answer column articles to the home page

There are still a lot of webmasters using DEDECMS question and answer module. Dream weaving question and answer system offers a reward for high scores. Problems to be solved, newly solved problems and recommended problems need to be called in the website. For example, if you call to the home page, you can call them through the following code

Basic syntax description:

The code is as follows:

{dede:ask row='6' qtype='new' tid='0' titlelen='24'} [[field:tidname/]] [field:title/] {/ dede:ask}

Parameter description:

Number of row='6' calls

Qtype='new' sort type commend recommendation, ok indicates solved problem, high high score problem, new latest problem

Tid='0' column id. Default is all.

Titlelen='24' title length

Underlying template field:

Tid,tidname,title,url,typeurl

The internal calls on the dream-weaving question and answer page are as follows:

1. Call the problem to be solved

The code is as follows:

{dede:ask row='8' titlelen='40' sort='notok'} [{dede:field.typedata /}] {dede:field.title /} {/ dede:ask}

2. Call for new problem solving

The code is as follows:

{dede:ask row='8' titlelen='40' sort='ok'} [{dede:field.typedata /}] {dede:field.title /} {/ dede:ask}

3. Recommended question call

The code is as follows:

{dede:ask row='8' titlelen='40' sort='expiredtime'} [{dede:field.typedata /}] {dede:field.title /} {/ dede:ask}

4. Call for the question of high reward

The code is as follows:

{dede:ask row='8' titlelen='40' sort='reward'} [{dede:field.typedata /}] {dede:field.title /} {/ dede:ask} after reading this article, I believe you have a certain understanding of the method of weaving dreams to call the first page of the Q & A column article. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report