The method of invoking head.htm on Dream Weaving Dedecms message Board
This article will explain in detail about the dream weaving Dedecms message board call head.htm. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.
dedecms message board header call modification method:
The first step: we need to open "/include/common.func.php", this file 5.6 version exists by default, 5.5 does not exist we can build one, this file function is used to parse the template (recommended learning: dream weaving cms)
You can also open the file "include/extend.func.php".
Add a function to this file, the code is as follows:
function pasterTempletDiy($path){require_once(DEDEINC. "/arc.partview.class.php");global$cfg_basedir,$cfg_templets_dir;$tmpfile = $cfg_basedir.$ cfg_templets_dir. "/".$ path;//path of template file $dtp = new PartView();$dtp->SetTemplet($tmpfile);$dtp->Display();}
The requested URL/templets/plus/guestbook.htm was not found on this server.
Find ""
Replace the original call header code with the following code
About Dream Weaving Dedecms message board call head.htm method to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.