In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about dream weaving to achieve cyclic transfer of multi-level sub-columns, such as the second-level column under the third-level column, the editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Dream weaving how to cycle the use of multi-level sub-columns, such as the second-level column under the third-level column?
A column has been built in the background, and the navigation of the product display column is shown in the following figure:
The code is as follows:
{dede:channelartlist cacheid='channelsonlist' typeid=3} {dede:field name='typename'/} {dede:channel type='sun' row='10' noself='yes'} [field:typename/] {/ dede:channel} {/ dede:channelartlist}
If you use the above code, the display of the foreground page will not be satisfactory. For secondary directories with subclasses, their subclasses will be displayed correctly, and those without subclasses will display a list of their kind. This is shown in the following figure.
Such a result is really puzzling.
Next, the second code is written as follows:
The code is as follows:
{dede:channelartlist typeid=3} {dede:field name='typename'/} {dede:sql sql='Select * from `lzz_ arctype` where reid=~id~ ORDER BY id'} [field:typename/] {/ dede:sql} {/ dede:channelartlist}
Note: lzz_arctype this is because I changed the table name prefix to lzz_.
The result, of course, should be what you want, as shown in the following picture.
On the realization of dream weaving cycle call multi-level sub-column, such as the second-level column under the third-level column method to share here, I hope that the above content can be of some help to everyone, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.