Jump to content

Kontakt


pzolee

Recommended Posts

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 informacie

Potom 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

  • 3 weeks later...

Stretli ste sa prosim s takou vecou, ked chcete cez kontaktny formular odoslat
email tak Vam ho neodosle a napise hlasku:
Chyba neplatný predmet
Deje sa to aj ked ho chcem oddoslat ako prihlaseny.

Pouzivam 1.4

Dakujem

Link to comment
Share on other sites

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

43300_xd78Kl42x0ihagCIanYk_t

Link to comment
Share on other sites

  • 7 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...