BryanC12 Posted April 27, 2020 Share Posted April 27, 2020 How can I or are there any way to disable some specific pages? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 28, 2020 Share Posted April 28, 2020 20 hours ago, BryanC12 said: How can I or are there any way to disable some specific pages? you usually can't from settings - there are some pages that you can make accessible to logged in users only from settings... but generally speaking, if you want to prevent a user going to a specific page, then it's a combination of hooks - one to remove links to that page from the navbar/sidebars, and another to redirect users away from those pages if they try to visit them. 0 Quote Link to comment Share on other sites More sharing options...
BryanC12 Posted April 29, 2020 Author Share Posted April 29, 2020 Quote On 4/28/2020 at 11:50 PM, brian! said: you usually can't from settings - there are some pages that you can make accessible to logged in users only from settings... but generally speaking, if you want to prevent a user going to a specific page, then it's a combination of hooks - one to remove links to that page from the navbar/sidebars, and another to redirect users away from those pages if they try to visit them. Thnx i have found out a easy way. Just make the content hidden then add a button to return them back. 0 Quote Link to comment Share on other sites More sharing options...
acamilleri Posted April 15 Share Posted April 15 On 4/28/2020 at 12:50 PM, brian! said: you usually can't from settings - there are some pages that you can make accessible to logged in users only from settings... but generally speaking, if you want to prevent a user going to a specific page, then it's a combination of hooks - one to remove links to that page from the navbar/sidebars, and another to redirect users away from those pages if they try to visit them. Wich its the way to redirect users away from those pages? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.