FoxSecrets
Active member
I need a button to the "Add New Item" page.
So far I created the route and the 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?
So far I created the route and the button.
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?