FORMIT: emailTpl no @INLINE possible in MODX3?

Hi,

I’ve made an upgrade to 3.01 for a existing site.

For explanation: in the site I use a resource to store email tpl content.
And in formit call:

emailTpl=@INLINE [[!getResourceField? &id=5 &field=content]]

Now, after upgrade this dont runs.

Any idea?

Thank you in advance.

bye
Chris

Maybe try using @CODE: instead of @INLINE.

@INLINE probably relied on the getChunk function from the extra pdoTools. Maybe class_exists('pdoTools') ... doesn’t work correctly anymore in MODX 3.

thank you for feedback.

wow. perfect.
thats it.

Thank you so much. :pray: :pray: :pray: