How to call and specify the body content of an article on the dedecms homepage?
The example of this article describes the method of calling the dedecms homepage to specify the body content of an article. Share it with everyone for your reference. The specific implementation method is as follows:
Recommended learning: 梦Weavercms
The code is as follows:
{dede:arclist idlist='要调用文章的id' channelid='1' addfields='body'} [field:body function='cn_substr(@me,330)'/] {/dede:arclist}
Among them:
idlist is to Call the id of the article, channelid is the content model id, addfields is to call the fields in the additional table.
The above is the detailed content of How to call and specify the body content of an article on the homepage of dedecms. For more information, please follow other related articles on the PHP Chinese website!