Jump to content

Recommended Posts

Hello Everyone,

After checking some forum discussion, finally I've managed to check domain availabilty from external/home page :)

Procedure:

  • First go to (for edit)  /{blesta-install-directory}/config/blesta.php & search following line:

Configure::set("Blesta.csrf_bypass",array());

  • Now replace that line with following code (No need to disable automatic csrf token protection for whole site):
Quote

Configure::set("Blesta.csrf_bypass", array('config::preconfig','domain_form::index'));

 

b1.png.133ca0becabd9c92b0dbcba4e24e051b.png

  •  Now configure your external/home page domain checker form, here is my code:

b2.png.cd611a27bbb0e35686f56fd221c6d720.png

Quote

I've tested this with logicboxes (resellerclub) & namecheap module. Check live: http://nextophost.com :)

Thanks everyone :blesta:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×