Home > CMS Tutorial > Empire CMS > One trick to get the Empire CMS message board to support the method of calling tags

One trick to get the Empire CMS message board to support the method of calling tags

silencement
Release: 2019-11-28 13:54:04
forward
2774 people have browsed it

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);
Copy after login

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);
Copy after login

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");
Copy after login

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!

Related labels:
source:www.word666.com
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template