Home > Article > CMS Tutorial > One trick to get the Empire CMS message board to support the method of calling tags
Since the message board of Empire CMS is a dynamic page, it does not support universal tags, smart tags and other tags. This brings great trouble to those webmasters who build websites using Imperial CMS!
So how can the message board also support the calling of these tags?
Can be changed according to the following steps:
1. Find this code in the file e/class/functions.php:
The code is as follows:
$gbtemp=str_replace("<!--empire.listtemp.footer-->",$listtemp_r[2],$gbtemp);
Recommended to study "Empire cms tutorial"
Add the following two strings of code after this string of code:
The code is as follows:
$gbtemp=DoRepEcmsLoopBq($gbtemp); $gbtemp=RepBq($gbtemp);
2. Then open the e/data/template/gbooktemp.txt file
Add the following two strings of code after require("../../class/connect.php"); in the header:
The code is as follows:
require("../../class/t_functions.php"); require("../../data/dbcache/class.php");
Then update it and the label will take effect!
The above is the detailed content of One trick to get the Empire CMS message board to support the method of calling tags. For more information, please follow other related articles on the PHP Chinese website!