Phpcms allow spaces in English directories
Everyone has used phpcm add column bar, in the Add column, there is an option is the English directory, where the directory can be used to fake static function. Such English cannot have special characters such as spaces. But if the page needs to refer to characters that contain spaces, for example, about our page, I want to display English about us. So what's the deal?
First step: Open the following file
phpcms\modules\admin\templates\category_add.tpl.php
phpcms\modules\admin\templates\category_edit.tpl.php
phpcms\modules\admin\templates\category_page_add.tpl.php
phpcms\modules\admin\templates\category_page_edit.tpl.php
These four template files, corresponding to the background, add columns, modify columns, add a single page, modify a single page
Step Two:
Find the Form validation field and modify it.
Regexvalidator ({regexp: "^ ([a-za-z0-9,-]|[ _]) {0,30}$ replaced with
that's it.
life is not easy, yards farming hard
If you feel that the content of this article is helpful to your study, you can donate by scanning QR code on your mobile phone.