Okay
  Public Ticket #949773
Connectivity with database with PHP
Closed

Comments

  •  2
    Prabjeet Singh started the conversation

    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.

  • [deleted] replied

    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.

  •  2
    Prabjeet Singh replied

    Thanks for the solution.

  • [deleted] replied

    Glad to hear that!

    Will set this ticket as solved from here.