The example in this article mainly implements calling the region name of purchase and supply information on the destoon homepage. This is a more 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 description is as follows:
$t[areaid], '/', 1
The second parameter is the separator between region and sub-region
The third parameter is optional: set to 1 to display only the first-level regional classification; set to 2 to display the second-level regional classification, etc.
But calling it like this doesn’t work at all, and all the supply information is still displayed
Already solved