yuriix1 Posted June 28, 2012 Share Posted June 28, 2012 (edited) Zdravím, když chci přidat pole upravím soubory podle návodů co jsem zde na foru našel: contact-from.php elseif (!($name = nl2br2(Tools::getValue('name')))) $errors[] = Tools::displayError('Jméno produktu je prázdné'); contact-from.tpl <p class="text"> <label for="name">{l s='Název nebo ID číslo zboží'}</label> <input type="text" id="name" name="name" value="{if isset($smarty.post.name)}{$smarty.post.name|escape:'htmlall':'UTF-8'|stripslashes}{/if}" /> </p> http://www.prestasho...e-contact-form/ bohužel po použití formuláře se podle name v emailu neobjeví... PROč? co dělám špatně? Děkuji Edited July 10, 2012 by yuriix1 (see edit history) Link to comment Share on other sites More sharing options...
yuriix1 Posted July 10, 2012 Author Share Posted July 10, 2012 Zdravím, když chci přidat pole upravím soubory podle návodů co jsem zde na foru našel: contact-from.php elseif (!($name = nl2br2(Tools::getValue('name')))) $errors[] = Tools::displayError('Jméno produktu je prázdné'); contact-from.tpl <p class="text"> <label for="name">{l s='Název nebo ID číslo zboží'}</label> <input type="text" id="name" name="name" value="{if isset($smarty.post.name)}{$smarty.post.name|escape:'htmlall':'UTF-8'|stripslashes}{/if}" /> </p> http://www.prestasho...e-contact-form/ bohužel po použití formuláře se podle name v emailu neobjeví... PROč? co dělám špatně? Děkuji ---- Notak lidí, uz se to tu řešilo jen nevím jak na to.... Link to comment Share on other sites More sharing options...
Falgener Posted July 16, 2012 Share Posted July 16, 2012 No, zkoušet se mi to nechce, jestli tam není chyba, ale napadá mne klasická chybka, - když upravujete tpl, musíte vynutit kompilaci smarty, vymazáním tools/smarty/compile nebo v BO podle verze Presty, jinak se Vám úprava prostě neprojeví .... 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