Home > Article > CMS Tutorial > Summary of common skills in empire cms template development
This article details common techniques for empire cms template development. Share it with everyone for your reference. The specific analysis is as follows:
For some newcomers who use Empire cms, they often encounter some small problems when making templates, which greatly reduces the speed of template production!
The following is summarized Some techniques commonly used in empire cms should help novices get rid of these troubles!
1. Call the comment box and comments on the page
If you need to display the comment box on the content page, just copy the comment box in the comment template. Call the latest comments (default 0)
2. How to add the comment address after the title list
Use universal tags, the comment address is: /e/pl?id=84&classid=46
3. The information error reporting function calling method
/e/DownSys/report?classid=46&id=84
is recommended to study "Empire cms tutorial"
4. The free version refers to replacing certain values in the content
Run
The code is as follows:
"update phome_ecms_news set newstext=REPLACE(newstext,'Original content','New content '),titlepic=REPLACE(titlepic,'original content','new content')
If you only replace the content, the following sentence can be removed
5. Clear the blank space during collection Data system settings == Execute SQL statement
The code is as follows:
delete from phome_ecms_news where newstext = '';
6. Clear SQL statements with the same title
Refer to this post: http://bbs .phome.net/ShowThread/?threadid=10132&forumid=13
7. Modify the friendly links and arrange them irregularly (text)
Refer to this post: http://bbs.phome.net /ShowThread/?threadid=9250&forumid=13
8. How to use the multi-column call of emsinfo tag?
The code is as follows:
[ecmsinfo]'15,18,22',2,0,0,2,13,1[/ecmsinfo]
9. I want to change How to change the directory name of the following categories?
Modify the directories of the current category and subcategories (use phpmyadmin to change)
10. The custom page cannot be displayed?
Use relative path../../info/aboutus.html
11. How many tables does ECMS have in total?
The free version has about 57
12. Is it not possible to collect the same content for the second time?
No, management node-》Clear
13. How to filter tags such as font during collection?
Replace if there is no middle text
14. How to call the comment?
If you want to change the format, you can only change the e/pl/more/index.php file, directly use Dreamweaver to open the php file
15. Regarding the Empire review issue, if there are multiple editors in the system, it is recommended to remove the direct review. Direct review will generate a file
I hope this article will be helpful to everyone’s Empire CMS website building. Helped.
The above is the detailed content of Summary of common skills in empire cms template development. For more information, please follow other related articles on the PHP Chinese website!