How to add routes /pages without showing them in the backend


#1

Hi,

i want to realize some pages which are not editable in the backend also not shown there.
But using tempales form the template dir. Is that possible?


#2

The easiest way is to hide them from the panel. That would, however, still make them accessible if someone guesses the Panel URL.

Other than that, you would have to use role based permissions, but you can’t limit permissions for admin users.

Don’t know what you mean by hiding routes from the Panel? Only “physically existing” pages are shown in the Panel, anyway.


#3

hide : true solves my problem, thank you!