In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the modification of dede links into a drop-down method, has a certain reference value, friends in need can refer to. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
How to change the dede link to a drop-down?
Change the dede link to a drop-down
Recommended study: dream weaving cms
Change dedecms links to drop-down links, change to drop-down links can not only be classified clearly, but also look simple and save space if there are many connections. However, such links are not recognized by search engines.
Let's talk about the method:
Step one:
Open flink.lib.php under include\ taglib and change [field:link /] to [field:link /]
And then set line 46
$link = ".cn _ substr ($dbrow- > webname,$titlelen)."
Change to
$link = ".cn _ substr ($dbrow- > webname,$titlelen)."
You can also edit it directly through the template in the background of dedecms.
Step 2:
Modify the home page template
Change the original link {dede:flink row='24'/} to
-- Local website-- {dede:flink row='24' typeid='2' /}
That is, call the first and second categories of links respectively.
Thank you for reading this article carefully. I hope the editor will share and modify the drop-down method of dede links to be helpful to everyone. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
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.