Alpes Eco Matériaux Posted February 27, 2020 Share Posted February 27, 2020 (edited) Bonjour, Je cherche depuis un bon moment comment supprimer le lien <<précédent qui apparaît en bas de l'encadré rouge au moment ou une entré n'est pas valide sur le formulaire de création de compte. Voir photo en pièce jointe. En effet une fois les 90 % du formulaire remplie et en cas d'erreur si on Click sur <<précédent cela redirige le client en page d’accueil et il perd toute la saisie... Merci pour votre aide Presta 1.6.1.2 Edited February 27, 2020 by Alpes Eco Matériaux (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted February 27, 2020 Share Posted February 27, 2020 template error.tpl de votre thème Link to comment Share on other sites More sharing options...
Alpes Eco Matériaux Posted February 27, 2020 Author Share Posted February 27, 2020 Bonjour et merci Eolia quelle ligne je dois supprimé ? : {if isset($errors) && $errors} <div class="alert alert-danger"> <p>{if $errors|@count > 1}{l s='There are %d errors' sprintf=$errors|@count}{else}{l s='There is %d error' sprintf=$errors|@count}{/if}</p> <ol> {foreach from=$errors key=k item=error} <li>{$error}</li> {/foreach} </ol> {if isset($smarty.server.HTTP_REFERER) && !strstr($request_uri, 'authentication') && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri} <p class="lnk"><a class="alert-link" href="{$smarty.server.HTTP_REFERER|escape:'html':'UTF-8'|secureReferrer}" title="{l s='Back'}">« {l s='Back'}</a></p> {/if} </div> {/if} Link to comment Share on other sites More sharing options...
Eolia Posted February 27, 2020 Share Posted February 27, 2020 {if isset($smarty.server.HTTP_REFERER) && !strstr($request_uri, 'authentication') && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri} <p class="lnk"><a class="alert-link" href="{$smarty.server.HTTP_REFERER|escape:'html':'UTF-8'|secureReferrer}" title="{l s='Back'}">« {l s='Back'}</a></p> {/if} A supprimer ou à commenter comme ceci {*if isset($smarty.server.HTTP_REFERER) && !strstr($request_uri, 'authentication') && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri} <p class="lnk"><a class="alert-link" href="{$smarty.server.HTTP_REFERER|escape:'html':'UTF-8'|secureReferrer}" title="{l s='Back'}">« {l s='Back'}</a></p> {/if*} Link to comment Share on other sites More sharing options...
Alpes Eco Matériaux Posted February 27, 2020 Author Share Posted February 27, 2020 super merci Eolia, toujours aussi efficace ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now