-
- 616 Posts
Hello,
Is my understanding correct that the JOT templates e.g. form template has to reside in an external html file rather than using a chunk like in eform for instance?
do I just change the chunk.form.inc.html file to fit my needs?
Thank you
-
- 398 Posts
no,
you can create a chunk of each template..
the external files are there just for the defaults.
Armand Pondman
MODx Coding Team
::
Jot ::
PHx
-
- 616 Posts
Thanks for your feedback.
Would you mind telling me how to set it up then in the page that’s calling the snippet - how would I refer to those chunks then in the page.
thanks again
-
- 4,213 Posts
You would use the &tplForm snippet parameter for example and give the chunk name as value
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
- 616 Posts
so it works like eForm then - stupid me - thank you guys.