Home >CMS Tutorial >Empire CMS >Is it possible to log in and register with Empire CMS without using js template?
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
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.
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>
Add styles or validation attributes to it:
<code><input type="text" name="username" id="username" class="form-control" required></code>
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!