pzolee Posted April 3, 2011 Share Posted April 3, 2011 Ahojte. Nastavujem obchod PS 1.4. Ako sa edituje contact.php, aby to vyzeralo ako napr. na tejto stránke: http://www.eurohas.com/contact-form.php. Potrebujem tam mať tiež tie firemné údaje ... Ďakujem Link to comment Share on other sites More sharing options...
Caleydon Posted April 3, 2011 Share Posted April 3, 2011 otvor si v roote obchodu subor contact-form.php a za include(dirname(__FILE__).'/header.php'); vloz kod if (($id_cms = "4") AND $cms = new CMS(intval($id_cms), intval($cookie->id_lang)) AND Validate::isLoadedObject($cms)) { $smarty->assign(array('cms' => $cms,'content_only' => intval(Tools::getValue('content_only')))); } kde $id_cms = "4" - 4 znamena ID CMS stranky, kde mas kontaktne informaciePotom otvor v sablonach subor contact-form.tpl a za: {l s='Contact us'} vloz kod: {if $cms} {if $content_only} {$cms->content} {else} {$cms->content} {/if} {else} {l s='This page does not exist.'} {/if} PS: funguje pre 1.3.x. Nemal by byt problem, aby to fungovalo na 1.4.x. Link to comment Share on other sites More sharing options...
pzolee Posted April 3, 2011 Author Share Posted April 3, 2011 Ďakujem, ale v 1.4 contact-form.php je úplne iné. V prílohe posielam ... contact-form.php Link to comment Share on other sites More sharing options...
Caleydon Posted April 3, 2011 Share Posted April 3, 2011 Mas pravdu. Link to comment Share on other sites More sharing options...
vedmed Posted April 19, 2011 Share Posted April 19, 2011 Stretli ste sa prosim s takou vecou, ked chcete cez kontaktny formular odoslatemail tak Vam ho neodosle a napise hlasku: Chyba neplatný predmetDeje sa to aj ked ho chcem oddoslat ako prihlaseny.Pouzivam 1.4Dakujem Link to comment Share on other sites More sharing options...
vedmed Posted April 20, 2011 Share Posted April 20, 2011 dopnil som si tam skript na oddosielanie emailu, ktory je volany z cms stranky, kde je email formular.Ak by Ste sa vsak vedeli ako rozbehat email formular, kt. je standardne v obchode, tak dajte prosim vediet,ten by som rad vyuzil, kedze obsahuje aj ID objednavky a produktu.Anglicka verzia mi odosiela e-maily normalne no slovenska nie. Deje sa to aj pri novej instalacii.Dakujem Link to comment Share on other sites More sharing options...
Zengorius Posted November 28, 2011 Share Posted November 28, 2011 Ďakujem Calaydon-ovi za tento príspevok, veľmi mi pomohol. 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