Destoon homepage: Method for calling the region name of the purchase and supply information _ php instance

Source: Internet
Author: User
This article describes how to call the region name of the purchase and supply information on the destoon homepage, which has good practical value, for more information, see the example in this article. This section describes the region name for calling the purchase and supply information on the destoon homepage. This is a practical technique in destoon development.

The implementation code is as follows:

{Loop $ tags $ k $ t} [{area_pos ($ t [areaid], '/', 1)}] {$ t [title]} {/loop}

The code is described as follows:

$ T [areaid], '/', 1

The second parameter is the delimiter between the region and the sub-region.
The third parameter is optional: set to 1 to display only the first-level region category; set to 2 to display the second-level region category.

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