


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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools