How to import custom js into empire cms

Release: 2019-07-31 15:45:47
Original
2904 people have browsed it

How to import custom js into empire cms

Customized JS function: In addition to the fixed information JS calls built into the system, users can also generate corresponding information JS calls through SQL conditions, making JS calls more flexible.

Add Custom JS

1. Log in to the backend, click the "Column" menu, select the "Add Custom JS" submenu, and enter the Add Custom JS interface :

How to import custom js into empire cms

2. Enter the add custom JS interface, as shown below:

How to import custom js into empire cms

##JS name Fill in the JS call name. JS storage address Fill in the JS file storage address (the address starts from the backend directory, "../../" means in the root directory). Query SQL statement Fill in the query SQL statement to call the information. Use JS template Select the JS template to use (see the "Art Manual" for details on JS template production).

## 3. After adding custom JS, return to the management custom JS page, as shown below:

How to import custom js into empire cms

Preview] Preview the generated JS file calling effect. Updates the selected custom JS. Add:anywhere on the page, example: Empire cms website building tutorial

[Refresh] button
JS calling method
##Recommended:

The above is the detailed content of How to import custom js into empire cms. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!