Destoon implements the information information before calling the method _php instance of the taxonomy it belongs to

Source: Internet
Author: User
Sometimes we need to add in front of some information he belongs to the classification, let him show, the method described in this article, although some do not have generality, but can achieve this effect, the code is as follows for your reference:

 
   {Loop $tags $i $t}           
  • [{$t [catname]}] {$t [title]}
  • {/if} {/loop}

    Attention:

    1. This sentence in the Code CATID in (263,264,249,327,11,598,599,12,238,237,265,285,328,567,570) is the classification of all information
    (This ID range is fixed, not universal, here need to fill in their own information below the category ID)

    2. Write Showcat=1 this

    3.{$t [catname]} This is the category name

  • 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.