How to implement DEDECMS V5.3 add related article module function

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

A few days ago, netizens and 11544.html "> I contact, asked me how to implement the relevant article in my website www.joyai.com function?" He used the same system as my www.joyai.com, Dedecms V 5.3, but, as you know, Now the V5.3 tag has the calling headline [h] recommended [c] picture [p] slide [f] scrolling [s] jump [j] graphic [a] bold [b] label, but did not see the call related article this label, to many novice caused inconvenience, in fact, v5.3 has this function of the label.

  

Figure 1 Dedecms Template

1. Add the following code to the location you want on the \templets\default article_article.htm page:

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

Where: {dede:likearticle row= ' titlelen= ' 42 '} is the label of the related article that calls record number 15.

2. Add articles in the Add Article page, note the following image, the red area of the tag tag must be added, because the DEDECNS system is based on its automatic matching related articles:

  

Figure 2: The red Area tag label as shown in the picture must be added

3. Continue to add a few articles, but its tag tag to fill in at least one of the same words, such as the "woman" in this example.

4. Click to generate the article, you can now view the effect, as shown in the following figure:

  

Figure 3 Final effect diagram

Note: The specific effect can see www.joyai.com classic film home, but after adding this feature, the system in the process of generating static pages have a matching related article time, will consume a certain amount of resources, the generation process is slow.

Welcome to reprint, Welcome to visit www.joyai.com Classic movie home to communicate!

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.