I had purchased NEON template yesterday, and trying to change the code, as per the given instructions, so that i can connect with my database and login, but unable to do so.
Please help!
I'm attaching index.php and config.php, which I previously created and it is working with the database with no issues.
This should work for you. Please note that this is a custom work and not included in the support of Neon, because it is a plain HTML template so you have to configure the back-end part.
I had purchased NEON template yesterday, and trying to change the code, as per the given instructions, so that i can connect with my database and login, but unable to do so.
Please help!
I'm attaching index.php and config.php, which I previously created and it is working with the database with no issues.
Hi Prabjeet,
In order to configure the login form to work via AJAX you have to edit this file:
assets/js/neon-login.js
(view large version)
Then in index.php add the "ajax" auth type handler as shown in this example:
(view large version)
This should work for you. Please note that this is a custom work and not included in the support of Neon, because it is a plain HTML template so you have to configure the back-end part.
Thanks for the solution.
Glad to hear that!
Will set this ticket as solved from here.