How to use DedeCMS Pagetitle tag?
DedeCMS Pagetitle tag usage example tutorial
[Pagetitle tag]
Function description: Indicates getting the paging title of the document
Applicable scope: only Document template.
Learn how to use it through debugging
My debugging method is:
Empty all the code in the article_article.htm file under the templets\default\ folder . Put in the code that calls [Pagetitle tag], and then perform the operation in the management background, as follows: HTML update-->Update document HTML-->Start generating HTML. Then access each document of the website in IE to get the returned data.
My specific code for debugging [Pagetitle tag] is as follows:
<font color="red">文章标标题:</font>{dede:field name="title"/}<br /> <font color="red">文章内容:</font>{dede:field name="body"/}<br /> {dede:pagetitle style='select'/}<br /> {dede:prenext/} <br />
I get the following return data:
Note: If you want to use [ The prerequisite for pagetitle tag is that the article has paging, and # p # subtitle # e # must be manually added where needed to achieve paging. And replace "# p #subtitle# e #" with the corresponding title, as shown in the figure below. You can get the return data as above.
This ends this series of tutorials. I spent more than a day writing the tutorials until my eyes were dazzled. This is also my first time. I dedicated my first time to dedecms selflessly, which can be considered as a contribution to dedecms. There must be other errors and omissions. Please comment and correct me and work together to supplement and improve.
The above is the detailed content of How to use DedeCMS Pagetitle tag. 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

Dreamweaver Mac version
Visual web development tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

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.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SublimeText3 English version
Recommended: Win version, supports code prompts!