Error: Not printed record "id" in email from form - "on new".

Status
Not open for further replies.
Hi,

Hi,
I have 2 plugins "email" for my form1. One email plugin use my own template1 in html and second email plugin is for test only and this send " something like standard fabrik template" - so, i have an option "PHP/HTML Template"=None selected.

For both emails i can't get right "record id" on my email.

I have this problem when i send emails from form on-new (when send from form on-edit then is OK) and together when i have on form field ccjom_cc_szkolenia___multipersons "Osoby szkolone" that is databasejoin multiselect dropdown.


On my own email template instead of "record id" i get "empty"
On fabrik-build-template = PHP/HTML Template"=None selected i get a number different then "record id" - this different number is equil total number of records in table ccjom_cc_szkolenia___repeat_multipersons.


Please solve this bug,
 

Attachments

  • Zaznaczenie_530.png
    Zaznaczenie_530.png
    31.9 KB · Views: 402
  • Zaznaczenie_533.png
    Zaznaczenie_533.png
    33.2 KB · Views: 424
  • Zaznaczenie_534.png
    Zaznaczenie_534.png
    45 KB · Views: 401
  • Zaznaczenie_535.png
    Zaznaczenie_535.png
    30.2 KB · Views: 400
  • Zaznaczenie_536.png
    Zaznaczenie_536.png
    39.2 KB · Views: 387
  • Zaznaczenie_537.png
    Zaznaczenie_537.png
    50.4 KB · Views: 394
  • Zaznaczenie_531.png
    Zaznaczenie_531.png
    47 KB · Views: 398
Have your tried {rowid} instead of the actual element placeholder? Or have you tried appending _raw to the element placeholder?

-- hugh
 
Hmmm,
code:
C&C/ {rowid}
works for my case ---- this is enought

for your knowledge:
code:
C&C/{ccjom_cc_szkolenia___id_raw}
doesn't work

Many thanks hugh,

SOLVED
 

Attachments

  • Zaznaczenie_546.png
    Zaznaczenie_546.png
    52.9 KB · Views: 363
OK. Not sure why the 'id' element isn't working as a placeholder. It really should have a value at the point the email plugin runs, as we set it at the same time we set rowid when creating a new row. Oh well. As long as {rowid} works.

-- hugh
 
Hi, i actualise today on my test2 site: http://194.181.162.166/cc.joomlat2 to GitHub version from 2014-06-23 and i have now everywhere problem with field ___id,
On every form I have this problem when i send emails from form on-new - on email ___id is not printed.

Still works only :
C&C/ {rowid}

Please solve this (this is not priority for me) because i can't actualise my main site: http://candc.katowice.pl to latest GiitHub version.
 
Does {rowid} not work in the other email forms?

I'm stepping through some code to try and work out what the issue is, but just want to make sure you have a workaround if I can't find what's going on today.

-- hugh
 
Oh thanks, now this works as earlier. After actualization from GitHub on 2014-06-30 is OK now. :)
I use many number email plugins with my own templates - each template is different for each form, and i use ___id not {rowid}. So it would be not nice to change everywhere:
___id ---> {rowid}.

But now is OK.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top