In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of DEDE calling other field values in the runphp=yes tag, which has a certain reference value, and friends who need it can refer to it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
How does DEDE call other field values in the label of runphp=yes?
The DEDE dream weaving CMS template calls other methods of field values in the tag of runphp=yes
Recommended study: dream weaving cms
Dedecms calls other field values in runphp=yes tags dedecms has a powerful TAG customization function, but if you are in the case of runphp=yes, you cannot use tags such as [field]
Because it doesn't parse (it's all PHP code, how is it possible to parse? )
What shall I do?
Checked the google and found no solution. So I thought for a long time to come up with a temporary solution to this problem with global variables. no, no, no.
{dede:php} $GLOBALS ['xxoo'] = $arc- > Fields [' fieldname'] {/ dede:php} {dede:field.xxxx runphp= "yes"} @ me= "test". @ me. "- test". $GLOBALS ['xxoo']; {/ dede:field.xxxx}
That is, first open a PHP label and replace the value you want to assign to the global variable. Then assign the field value to him in another run.
Thank you for reading this article carefully. I hope it is helpful for everyone to share DEDE's method of calling other field values in the runphp=yes tag. At the same time, I also hope you can 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: 293
*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.