ascat Posted October 10, 2009 Share Posted October 10, 2009 BonsoirA la place de (Nom boutique)Message depuis le formulaire de contact dans l'objet des mails ,je voudrais à la place mettre (Nom boutique)le contact sélectionné dans la liste.Pouvez vous me dire dans quels endroit je doit modifier pour obtenir cela.Merci d'avance. Alain Link to comment Share on other sites More sharing options...
ascat Posted October 11, 2009 Author Share Posted October 11, 2009 Résolu:Dans contact-form.phpligne 26 if (Mail::Send(intval($cookie->id_lang), 'contact', 'Message from contact form', array('{email}' => $_POST['from'], '{message}' => stripslashes($message)), $contact->email, $contact->name, $from, (intval($cookie->id_customer) ? $customer->firstname.' '.$customer->lastname : $from))) Remplacer par if (Mail::Send(intval($cookie->id_lang), 'contact', $contact->name, array('{email}' => $_POST['from'], '{message}' => stripslashes($message)), $contact->email, $contact->name, $from, (intval($cookie->id_customer) ? $customer->firstname.' '.$customer->lastname : $from))) Link to comment Share on other sites More sharing options...
lionhell Posted October 20, 2009 Share Posted October 20, 2009 Excellent ! Merci ... 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