GetOne()"; finally refresh the page to display the atlas content."> How does dedecms realize the output of large picture showphoto.htm atlas content-DEDECMS-php.cn
Home> CMS Tutorial> DEDECMS> body text

How does dedecms realize the output of large picture showphoto.htm atlas content

藏色散人
Release: 2019-12-26 09:29:03
Original
2190 people have browsed it

How does dedecms realize the output of large picture showphoto.htm 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();
Copy after login

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']; }
Copy after login

Then open showphoto.htm and add code in the appropriate place:

The code is as follows:

Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!