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

How to use DedeCMS Pagetitle tags

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

Share

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

This article is about how to use DedeCMS Pagetitle tags. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

How do I use the DedeCMS Pagetitle tag?

Function description: indicates to get the paging title of the document

Scope: document templates only.

Understand how to use it through debugging

The way I debug 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 operate in the administrative background as follows: HTML update-- > update document HTML-- > start generating HTML. Then visit each document of the website in IE, and you can get the returned data.

The specific code I debug [Pagetitle tag] is as follows:

Article title: {dede:field name= "title" /} article content: {dede:field name= "body" /} {dede:pagetitle style='select'/} {dede:prenext/}

The returned data is as follows:

Note: the prerequisite for using the [pagetitle tag] is that the article is paged, and you need to manually add # p # subtitle # e # where you need it to achieve paging. And replace the "# p # subtitle # e #" with the corresponding title, as shown in the figure below. You can get the returned data as above.

Thank you for reading! On how to use DedeCMS Pagetitle tags to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

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