[RSS Feed/News] How to correctly link to an "Add New Item" page

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I need a button to the "Add New Item" page.

So far I created the route and the button.

Code:

Code:
Route type: Admin
Route prefix: my-route
Subname: new

Code:

<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.

How to correctly link to the "Add New Item" page?
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom