mmihai82 Posted February 27, 2010 Share Posted February 27, 2010 Cum pot realiza un formular de contact mai complex? Adica am nevoie de mai multe campuri decat cel standard...ma puteti ajuta? Link to comment Share on other sites More sharing options...
Abh Posted February 28, 2010 Share Posted February 28, 2010 intri in contact-form.tpl din directorul temei pe care o folosesti si o sa vezi {l s='Message'} <textarea id="message" name="message" rows="7" cols="35">{if isset($smarty.post.message)}{$smarty.post.message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea> Copy/paste, il dublezi si modifici in ceva gen: {l s='Numar de contact'} <textarea id="message" name="numar" rows="1" cols="35">{if isset($smarty.post.message)}{$smarty.post.message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea> - se poate vedea diferenta si unde ai de modificat,pe urma deschizi fisierul de mail din directorul mails, vezi unde e acel mail pentru contact si sub Message: {message} pui Numar de contact: {numar} ...sper ca n-am uitat nimic. Link to comment Share on other sites More sharing options...
moss Posted April 1, 2010 Share Posted April 1, 2010 a mers codul asta? cine a incercat? Link to comment Share on other sites More sharing options...
mmihai82 Posted May 10, 2010 Author Share Posted May 10, 2010 La mine nu a mers...de fapt cand citesc mail-ul imi apare "Numar de contact: {numar} "in loc de Numar de contact: {0723......} , nu-mi apare ceea ce este completat de catre utilizator...mai trebuie modificat si altceva? 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