In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The editor would like to share with you the way to highlight the current column with Empire tags. I hope you will gain a lot after reading this article. Let's discuss it together.
How to use Empire tags to highlight the current column?
Highlight the current column with Empire Custom tags
After a test, I found a convenient method, which is specially recorded here.
1. Because you want to use custom tags, you should first add a custom function to\ e\ class\ userfun.php, that is,
The code is as follows:
/ / get the top-level column ID function function user_GetTopBclassid ($classid) {global $class_r; $fr=explode ('|', $class_r [$classid] [featherclass]); $topbclassid=$fr [1]? $fr [1]: $classid;// gets the first-level column id return $topbclassid;}
2. Next, use the smart tag to call the navigation part, and dynamically obtain the current column id and parent column id.
The code is as follows:
Home page [eVloop = {'select classid,classname,classpath,bclassid,bname from [! db.pre!] enewsclass where bclassid=0 order by classid',0,24,0}]
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.