How to invoke related articles in DEDECMS content pages

Source: Internet
Author: User
Keywords Related articles content pages dedecms

The following is the wind network in the actual testing process to find some of the methods and experience, special to share with you! Today, the content of the test is Dedecms content page of the relevant articles in the Call method, online search for several methods, including modify the include file source code, but the results of the test is always unsatisfactory, and finally find a solution to the test is correct. The
code is as follows:
&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp

<div class= "HOT MT1" >                <dl class= "Tbox" >                    <dt><strong> related articles </strong></dt>                    <dd>                         <ul class= "C1 ico2" >   {dede:likearticle row= '   Col= ' 2 '  titlelen= '}<li>   <a href= ' [field:arcurl/] ' >[field:title/]</a>    {/dede:likearticle}                     </ul>                    </dd>                </dl>   </div> 

Parameter description:
ROW=10: The number of control related articles is 10
col=2: Display as two columns
TITLELEN=45: Display caption length is 45 characters

This code is tested in Dedecms v5.6, with screenshots as follows:

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.