I have a site with a catalog that is not view-able to the public and my client wants to have the primary links still show on the main menu. If I make the catalog not view-able to anonymous that takes the menu items and hides them. What I am trying to do is leave the catalog menu items up, if it goes to the catalog page it comes up empty since I have access control on the products themselves. What I would love to be able to do is to have a redirect based on path.
I want any user with anonymous role, if they click on the menu item Catalog that it would redirect to the login page. They would then create an account or sign in and then get directed back to the catalog.
I have it already set to redirect to catalog upon sign in and it works perfectly, now I just need the menu items for the catalog to show, but redirect until they have logged in.

I was thinking something along the lines of: ON event Content is going to be viewed IF user has role(s) anonymous AND check path catalog DO page redirect user

But that does not work. Does anyone have an idea on how to handle this situation. Thanks

Comments

Stephen Ollman’s picture

Did you ever find a solution.

Have exactly the same requirement, but alas what should work simply does not.

TR’s picture

Issue summary: View changes
Status: Active » Closed (outdated)