button link

  1. FoxSecrets

    XF 2.2 How to correctly link to an "Add New Item" page

    I need a button to the "Add New Item" page. So far I created the route and the button. Route type: Admin Route prefix: my-route Subname: new <xf:button href="{{ link('my-route/new') }}" icon="add">Add New Item</xf:button> But when I click on the button, it redirects to main page, no change...
Top Bottom