Home > CMS Tutorial > Empire CMS > body text

Is it possible to log in and register with Empire CMS without using js template?

下次还敢
Release: 2024-04-17 11:33:15
Original
582 people have browsed it

Method for empire CMS login registration without JS template: Disable JS template Edit login registration page template Add HTML form code Save changes Refresh cache

Is it possible to log in and register with Empire CMS without using js template?

Can Empire CMS login and registration not use JS template?

Answer: Yes

Empire CMS is a powerful PHP content management system that provides a variety of customization options, including login and registration Form control. Users can log in and register without JS templates through the following steps:

Step 1: Disable JS templates

In the Imperial CMS management background, navigate to "System Settings" - >"Basic Settings"->"Template Settings" tab. Uncheck the "Use login registration JS template" checkbox and click the "Submit" button.

Step 2: Create or edit the login registration page template

Under "Template Management", navigate to the "System Model Templates" folder.

  • For the login page, edit the "/user/login.php" template.
  • For the registration page, edit the "/user/register.php" template.

Step 3: Add HTML form code

In the template, find the HTML code related to login or registration and modify it to match the required Appearance and functionality. For example, you can modify the following code:

<code><input type="text" name="username" id="username"></code>
Copy after login

Add styles or validation attributes to it:

<code><input type="text" name="username" id="username" class="form-control" required></code>
Copy after login

Step 4: Save changes

Save all changes to the template changes made.

Step 5: Refresh the cache

In the management background, navigate to the "System Settings"->"System Maintenance"->"Update Cache" tab. Click the "Force Update" button to refresh the website cache.

After completing these steps, the login registration page of Empire CMS will no longer use the JS template, but will use the specified HTML template for rendering.

The above is the detailed content of Is it possible to log in and register with Empire CMS without using js template?. 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 Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template