CheckInfo(); "That's it.">
How can Dreamweaver call the current member information on any page?
Dream Weaver DEDECMS calls the current member information on any page
Recommended study:Dream Weaver cms
I have been studying dede these days I also tried to get some of the various functions myself. Today I encountered the need to call the member number, which is the Mid value. I checked it on Baidu and found that there are many methods:
{dede:memberinfos} You can use mid= ""Points to calling a certain member information
This method can only call mid=1 by default, which is the information of the website administrator. Using invalid classmates is not invalid, it is just disabled by official default. You only need Comment out include/taglib/memberinfos.lib.php about line 62 (mine is line 62) if($row['matt'])==10) return " ;But this method still cannot call the mid value .
After checking it for a long time, I suddenly found that it can be called by imitating the ajax framework at the top of the template. My code:
Calling page:
Supplement: Calling mid value:< ;?php echo $cfg_ml->M_ID; ?> must be filled in on the ajax_loginuser.php page.
The above is the detailed content of How to call the current member information on any page in DreamWeaver. For more information, please follow other related articles on the PHP Chinese website!