Hi, I tried to follow the steps but I can't get it to work.
Change the configuration in blesta.php and it looks like this:
// Enable / disable automatic CSRF token verification
Configure :: set ('Blesta.verify_csrf_token', true);
// Bypasses automatic CSRF checking for a set of controllers and actions (eg. Array ('client_login :: index'))
// CSRF checking is a security feature, BE SURE YOU KNOW WHAT YOU ARE DOING BEFORE SETTING THIS VALUE
//Configure::set('Blesta.csrf_bypass', []);
Configure :: set ('Blesta.csrf_bypass', ['config :: preconfig', 'domain_form :: index']);
Then I put the form on the page where I need the domain checker:
<div class="section-domain clearfix mb-5">
<h2>Registra tu dominio</h2>
<p>Encuentre un dominio que exprese lo que hace y tome posesión de su marca</p>
<form action="/client_area/order/config/preconfig/domain" method="post" class="d-flex">
<div class="input-group input-group-lg mr-2">
<div class="input-group-prepend">
<span class="input-group-text"> <i class="material-icons">Buscar</i>
</span>
</div>
<input name="domain" type="text" class="form-control" placeholder="Ingresa tu dominio" aria-label="Buscar">
</div>
<button class="btn btn-primary btn-lg" name="lookup" type="submit">Buscar</button>
</form>
</div>
But when clicked, it shows general order page with all other options .. No domain availability checker.
Can someone helpe?
Regards