This project is read-only.

How to add user registration to a specific page?

Topics: Customizing Orchard
Nov 1, 2011 at 8:25 PM

I have several pages which don't need authentication but once a certain tab in the main menu is selected a user first needs to register or log in before being able to see the content of that page?

Nov 1, 2011 at 8:55 PM

Did you try this: ?

Nov 1, 2011 at 9:13 PM

Isn't there a standard solution? I mean in ASP.NET it's being done via a <location> tag in the web.config and exclude anonymous users. I would expect something like this to be standard in Orchard itself no?

Nov 1, 2011 at 9:28 PM

In Orchard, *everything* is done through modules. Some come in the default distribution, some don't, depending on how mainstream the scenario they solve is. The default distribution tries to only include what is going to be absolutely necessaray to most if not all sites. Even search is not in there by default. Content-item-level permissions are not *that* common. I hope that helps.

Nov 2, 2011 at 11:21 AM


thanks for the explanation. I just found it strange but I'm getting my feet wet with Orchard as we speak and still have a lot to cover I guess.