How does dede call the entire content of the article page on the homepage?
dedeHow to call the entire content of the article page on the homepage?
dede method of calling all the content of the article page on the homepage, friends who need it can refer to it
Recommended learning: 梦Weavercms
Generally, there are no tags that can be obtained directly when displayed on the homepage. SQL is used directly. If you are willing, you can use sql directly.
The code is as follows
{dede:sql sql="SELECT body FROM `dede_addonarticle` where aid = 2"} [field:body/] {/dede:sql}
This is mainly It is the aid in the sql statement. This is your article id. When you add the article in the background, there is a number in front of it. That is aid. Which article do you want to display on the homepage? Just add it directly. 2. Change it to that ID and it will be ok
The above is the detailed content of How does dede call the entire content of the article page on the homepage?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.