


Summarize the frequently asked questions about the use of Imperial CMS7.0
1. Which file is the database configuration file of version 7.0?
7.0 version database configuration file:/e/config/config.php
6.6 and below version database configuration file:/e/class/config.php
2. Forgot background login What to do with the authentication code?
View the contents of the "$ecms_config['esafe']['loginauth']" variable in the /e/config/config.php file.
3. If you don’t want to display the “Mall” menu in the background, how do you do this?
Answer: Backend>System>System Parameter Settings>Model Settings: Just check "Mall" for the "Close Backend Menu" item.
4. After changing the column directory address, why is the information page address not updated?
Answer: Because 7.0 directly stores the address in the database, after changing the directory rules, you need to go to: Backend>System>Data Update>Update Information Page Address: Update the content page address in the data table. (Note: Look at the menu on the left, not in the "Data Update Center" page)
5. How to turn off online modification of dynamic page templates
Answer: If you do not want to enable modification of dynamic page templates in the background, you can modify/ The value of the "$ecms_config['esafe']['openeditdttemp']" variable in the e/config/config.php file is 0.
6. Topic comment form
Answer: The topic comment access address /e/pl/?doaction=dozt&classid=topic ID
The topic comment form needs to add:
7. Why does the "Update Topic" page not display the topic? ?
Answer: Because the "Update Topic" page is a separate topic management function designed for users who do not have permission to manage topics. Administrators can set "users who can update topics" when adding a topic, so that even if they do not have permission to manage topics, they can manage and update topics on the topic update page. Authorization is more convenient.
8. Why can’t the rating function on the comment page be used?
Answer: If you want to use the scoring function of the model, you need to add two fields "infopfen" (number of ratings) and "infopfennum" (number of ratings) to the model data table. Detailed steps:
Backstage > System >Manage data table>Manage fields>Add field:
Score field: fill in "infopfen" for the field name, fill in "score" for the field identifier, select "Large Numerical Type (INT)" for the field type, and default for other fields , click submit;
Number of raters field: fill in "infopfennum" for the field name, "number of raters" for the field identifier, select "Large Numerical Type (INT)" for the field type, and default to other fields, click submit;
Two fields After adding, the model can use the scoring function.
Recommended to study "Empire cms tutorial"
9. How to call the topic information in version 7.0?
Answer: To call the topic information, use the "index smart tag" (e:indexloop) instead.
[e:indexloop={index category ID, number of displayed items, operation type, column ID, system model ID, additional SQL conditions}]
Template code content
[/e:indexloop]
10. How to call the recommended information of the topic?
Answer: "Additional SQL conditions" setting of "Index Smart Label":
All recommended information use: 'isgood>0'
Use second-level recommended information: 'isgood=2'
11. What should I do if the number of information in the column is incorrect?
Answer: You can go to the backend>System>Data Update>Data Update Center> to update the number of column information.
12. How to call multi-value fields?
Answer: Multi-value field storage method: multiple values are separated by "||||||", and each option in the value is separated by "::::::". The following is an example of displaying multi-valued fields in a content template:
<?php $morefr=explode('||||||',$navinfor[字段名]); $mfcount=count($morefr); for($mfi=0;$mfi<$mfcount;$mfi++) { $morefrf=explode('::::::',$morefr[$mfi]); ?> 选项1:<?=$morefrf[0]?> 选项2:<?=$morefrf[1]?> 选项3:<?=$morefrf[2]?> 选项4:<?=$morefrf[3]?> ...... <?php } ?>
13. Where is the setting of "Feedback of information processing results to members"?
Answer: You can see the setting options by modifying the information.
14. Why can’t you add the “checked=1” condition when calling with SQL?
Answer: Because the information to be reviewed and the release information in version 7.0 are stored in separate tables, calling the foreground information no longer requires the checked=1 condition, which is more efficient. Just remove this SQL condition.
15. What are the PHP variables on the topic page?
Answer: The current topic ID or current topic subclass ID variable is "$GLOBALS['navclassid']".
When it is a topic subcategory page, the topic ID variable is "$GLOBALS['navinfor']['ecmsbid']". When it is equal to 0, it is a topic page. It is easier to identify the topic page and the topic subcategory page. .
16. When refreshing all information content pages, it prompts "Table '*.phome_ecms_news_data_' doesn't exist"
Answer: The reason is that there is a problem with the data itself. Does the information index table phome_ecms_table name_index have an ID? record of.
Solution: Enter the database and delete the ID records that do not exist in the index table. You can also clean up at the bottom of the data update
The above is the detailed content of Summarize the frequently asked questions about the use of Imperial CMS7.0. 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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

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

Hot Topics



The mobile settings of Empire CMS are located in the "Mobile Template" of the "Template Management" module. The specific steps include: enabling the template, selecting the application channel, editing the template content, and saving the settings.

The Empire CMS sitemap can be found by accessing the config.inc.php file and checking the dositemap settings. If set to "on", sitemap is enabled. The sitemap path is located in the sitemapurl setting and can be accessed via a browser or downloaded via FTP.

The ideal location for the Empire CMS template file is /e/template/default/skin/default/. Secondly, it can also be placed in /e/data/skins/ and /e/skin/. You need to pay attention to maintaining the folder structure and setting file permissions. and regular backups.

The Imperial CMS database configuration file is located in the website root directory e/config/db.inc.php. It contains the following configuration information: $dbhost: database server address $dbuser: database user name $dbpass: database password $dbname: database name $dbport :Database port $dbcharset: Database character set

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

The automatic publishing interface of Empire CMS is located at /e/api/web/postinfo.php. The usage steps are as follows: visit /e/api/web/postinfo.php address and use HTTP POST to submit the article title, column ID, category ID, author and article The content and other data interfaces will return a response in JSON format, which contains the publishing results and article ID.

The imperial cms Baidu active push plug-in is located in the root directory /e/api/baidu/push.php. The specific configuration steps are as follows: 1. Upload the plug-in file to the specified path. 2. Configure the "Baidu Active Push" option in the Imperial CMS background, including push address, API Key and push interval. 3. Get Baidu push information: Push address: https://data.zz.baidu.com/urls?site=YOUR_SITE&token=YOUR_API_KEY, API Key: log in to Baidu search resource platform to obtain. 4. Update the API Key regularly and set a reasonable push interval.

Yes, Empire CMS is a free and open source content management system (CMS). It is a lightweight CMS that is feature-rich and easy to use. Empire CMS is licensed under the GNU General Public License (GPL), which means it is free to download, install and use. For commercial use, it offers a paid version that offers additional features and support such as ad management, online payments, and premium technical support.
