ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 23,636
- Points
- 823
Reputation:
Creating custom template types (
To reproduce this, start by extending
PHP:
Read more
Continue reading...
\XF\Entity\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.To reproduce this, start by extending
\XF\Entity\Template
to allow for the new custom
template type.PHP:
Code:
<?php
namespace AddOn\XF\Entity;
class Template...
Read more
Continue reading...