Closed Custom template types (in add-ons)

www

New member
Licensed customer
Affected version
2.3.2
Creating custom template types (XF:Template::$type)through add-ons seems to be problematic during upgrades, as the importer seems to adhere to the structure's allowedValues (expecting either mail, admin, or public), throughout which add-on class extensions have yet to take effect.

Is there any way to silence structure constraints during add-on installation/upgrades?
 
Automated triage: As designed

Thank you for reporting this issue. Templates can only be public, admin or email. While an add-on's data is imported during install or upgrade, its own code extensions are turned off and only switched back on after the import, so templates are checked against the standard types. Custom template types are not a supported feature at the moment.

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom