|
The logic is maybe a bit too ambitious.
Find all template T where dialog = "form:form" seems to be a nice solution.
But in the case of STK, the pages providing a registration form have the template "stkPURRegistrationForm".
This template has a dialog id "standard-templating-kit:components/pur/stkPURFormWithEMail".
And finally the template "stkPURFormWithEMail" extends some tabs of the dialog "/modules/form/dialogs/form/".
So it's not that easy, we should also check if the dialog of a template extends the dialog "form:form". Even more, we should check if the the dialog has in extension hierarchy "form:form". It could happen that it's an extension of an extension...
So for the 4.5, I will simply update manually the identified content of the demo project.
|