In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the method of Weaving Dream Dedecms to get higher-level column names and links. I hope you will gain a lot after reading this article. Let's discuss it together.
Dream weaving Dedecms how to get the upper column name and link?
Recommended study: dream weaving cms
Dream weaving Dedecms gets the column name and link at the next level.
{dede:field name='typeid' runphp='yes'} global $dsql; / * get the current column information * / $typeid = @ me; $query = "SELECT reid FROM dede_arctype where id = $typeid" $rs = $dsql- > GetOne ($query); $reid = $rs ['reid'] / / get the superior column of the column / * get the information of the superior column * / $query2 = "SELECT * FROM dede_arctype where id = $reid"; $row = $dsql- > GetOne ($query2) / * print the link information of the superior column * / $typename = $row ['typename'] $link = GetTypeUrl ($row ['typeid'], MfTypedir ($row [' typedir']), $row ['isdefault'], $row [' defaultname'], $row ['ispart'], $row [' namerule2'], $row ['moresite'], $row [' siteurl'], $row ['sitepath']); @ me = "$typename" {/ dede:field} after reading this article, I believe you have a certain understanding of Weaving Dream Dedecms to obtain a higher level of column names and links, want to know more related knowledge, welcome to follow the industry information channel, thank you for reading!
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.