[RSS Feed/News] Usage of xf:delete

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi,

I know the official way of XF is to check the source code and copy paste it on good luck till it works and than you maybe understand it. But this time this isn't enough.

I'm trying to use a xf:delete element. That's how I'm using it:
HTML:

<xf:delete href="{{ link('module/delete', $rule) }}" />

It gets to the desired function, but $params is empty. This is the function:
PHP:

Code:
    public function actionDelete(ParameterBag $params)
    {
        $rule =...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom