Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of invoking head.htm on Dream Weaving Dedecms message Board

Shulou Source: shulou.com Published: 2022-06-02 01:36:11 10月02日 Update

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.

Tags: File method message board code template header more article good practical content function article version for knowledge path China plus message book Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Linux Shulou Technology Xiaomi MySQL