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
- 24,750
- Points
- 823
Reputation:
I get most things in XenForo but routes drive me mad.
I have added a custom action method to my extension of the XFRM resourceitem public controller.
Here is the format of the extension:
Code:
I know the extension works, because I have other methods I already use...
Read more
Continue reading...
I have added a custom action method to my extension of the XFRM resourceitem public controller.
Here is the format of the extension:
Code:
Code:
<?php
namespace My\Addon\XFRM\Pub\Controller;
use XF\Mvc\ParameterBag;
use XF\Pub\Controller\AbstractController;
class ResourceItem extends XFCP_ResourceItem
{
public function actionMyAction(ParameterBag $params) {
}
}
I know the extension works, because I have other methods I already use...
Read more
Continue reading...