How to modify tags in phpcms?
How to modify the phpcms V9 tag
If you want to modify the PHPCMS V9 tag, just modify the corresponding contents of the two files:
You need to modify the file in:
/phpcms/libs/classes/template_cache.class.php template parsing cache file to find the pc_tag() method
\phpcms\modules\content\classes\content_tag .class.php
For example, tag: num will be parsed and converted into php through the pc_tag() method
$num = isset($num) && intval($num) ? intval ($num): 20;//You can modify it arbitrarily here
After conversion, check the template. After conversion, you will use the corresponding method in content_tag.class.php, and you can watch the corresponding modifications yourself.
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of How to modify tags in phpcms. 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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

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

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

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version
SublimeText3 Linux latest version

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.