DEDECMS Document page dedicated pagetitle| page header

Source: Internet
Author: User
Keywords Dedecms pagetitle pagination title document page dedicated

pagetitle| Paging Title

Label name: PageTitle
Function Description: To get the page title of a document
Scope of application: content template article_*.htm only
Basic syntax:
{dede:pagetitle style= ' select '/}
Related functions:
File \include\arc.archives.class.php Line No. 833
Get a dynamic page small title
function getpagetitlesdm ($styleName, $pageNo)
Get a static page small title
function Getpagetitlesst ($styleName, $pageNo)
Parameter description:
Style= ' represents the display style of the paging title
Select represents Drop-down box, link represents text Direct link
Usages:
This tag is generally used for content pages, here we take the content of ordinary articles as an example, we first modify the Content page template \templets\default\article_article.htm, we modify the following 133 lines:

<div class= "Content" >
{dede:field.body/}<br/>
Paging title: {dede:pagetitle/}
</div><!--/content-->
Save the content of this page header, and then we'll edit a piece of content: &http://www.aliyun.com/zixun/aggregation/37954.html >nbsp;

Publish content to preview after editing:

This allows us to apply this tag, and of course the tag can be used flexibly in many places with custom functions.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.