developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 11 years ago

#898 closed bug (fixed)

Patch pour jMailer quand on utilise par exemple {formdatafull} et le mail template.

Reported by: geekbay Owned by:
Priority: normal Milestone: Jelix 1.1.3
Component: jelix:utils Version: 1.1
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Le bug etais le suivant si je met {formdatafull $formulaire} dans mon template tpl et que je fais :

      $mail = new jMailer();
      $mail->IsHTML(true);
      $mailtpl = $mail->Tpl('montemplate',true);
      $mailtpl->assign('formulaire', $form);
      $mail->AddAddress('lol@lol.com' , 'lol@lol.com');
      $mail->Send();

j'avais une erreur la fonction formdatafull est inconnue, voila le patch.

Attachments (1)

patch_jmailer.patch (1.3 KB) - added by geekbay 11 years ago.
Patch pour jMailer

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by geekbay

Patch pour jMailer

comment:1 Changed 11 years ago by laurentj

  • Component changed from jelix to jelix:utils
  • Milestone set to Jelix 1.1.3
  • review set to review+

ok. Should be landed into the trunk and 1.1.x.

comment:2 follow-up: Changed 11 years ago by Lipki

Pourquoi mettre un formulaire dans un mail ?? (simple curiosité)

comment:3 in reply to: ↑ 2 Changed 11 years ago by geekbay

c'est pas un formulaire, c'est formdatafull c'est l'affichage entier du formulaire par exemple dans le cas d'une page contact, j'envoi direct dans le mail {formdatafull $formulaire}

comment:4 Changed 11 years ago by Lipki

a voui pas bête.

comment:5 Changed 11 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

landed. r1384. Thanks for your patch.

Note: See TracTickets for help on using tickets.