DEDECMS Document page dedicated pagenext| tab

Source: Internet
Author: User
Keywords Dedecms pagenext up and Down tabs special for document pages

pagenext| tabs

Label name: Pagenext
Function Description: To get the document "previous/Next" link list
Scope of application: content template article_*.htm only
Basic syntax:
{dede:prenext/}
Related functions:
File \include\arc.archives.class.php Line No. 634
Get previous article, Next link
function Getprenext ($gtype = ')
Parameter description:
Get Gets the connection type (after 5.x), get= ' ' V4 the upper and lower pages of the display horizontal, get= ' pre ' previous connection get= ' next ' next connection
Note: This tag defaults to horizontal arrangement, if you want to use vertical alignment, you can use
{Dede:prenext function= "str_replace (' &http://www.aliyun.com/zixun/aggregation/37954.html" >nbsp; Next: ' < '. Br '. '/> Next: ', @me] '/}
Said

Usages:
Used to display the previous page of a content page, related documents for the next page

We can see the relevant code in the Content page template page, and here take the article content page template \templets\default\article_article.htm As an example, we look at 164 lines of related code
<div class= "Context" >
<ul>
<li>{dede:prenext get= ' pre '/}</li>
<li>{dede:prenext get= ' Next '/}</li>
</ul>
</div><!--/context-->
Of course, we can also use the custom function to deal with this tag, in line with the production of site templates.

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.