GetOne()"; finally refresh the page to display the atlas content.">
dedecmsHow to realize the output of large picture showphoto.htm atlas content?
dedecms realizes the introduction method of large picture showphoto.htm output atlas content. Friends in need can refer to the following
Recommended learning:梦Weavercms
This method is very practical in many places in DEDE.
Open showphoto.php, find
The code is as follows:
require_once(DEDETEMPLATE.'/plus/showphoto.htm'); exit();
and add above it:
The code is as follows:
//------------------下为代码------------------// //图集大图模式显示图集内容介绍 $arcRow = $dsql->GetOne("SELECT body FROM `dede_addonimages` WHERE aid='{$aid}'"); if(is_array($arcRow)) { $arcbody = $arcRow['body']; }
Then open showphoto.htm and add code in the appropriate place:
The code is as follows:
php echo $arcbody; ?>
Refresh the page to display the album content (introduction)
The above is the detailed content of How does dedecms realize the output of large picture showphoto.htm atlas content. For more information, please follow other related articles on the PHP Chinese website!