In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail the methods of weaving dreams to get the address of the current article. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Method 1:
A global function that comes with DedeCMS, we just call it in the foreground in the form of a tag.
The specific code is:
{dede:geturl runphp='yes'} @ me = GetCurUrl (); {/ dede:geturl}
Method 2:
You can obtain the current url address through a tag, as follows:
{dede:field name='arcurl'/}
Just put the above code in the article content page template and generate the relevant article content page.
Method 3:
Call the static document address through the sql statement, as follows:
{dede:field.id runphp='yes'} $id=@me; @ me=''; $url=GetOneArchive ($id); @ me=$url ['arcurl']; {/ dede:field.id} the methods of weaving dreams to get the address of the current article are shared here. I hope the above content can be helpful to you and learn more. 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.