OrchardCMS / OrchardDoc

Documentation for Orchard 1.x (not Orchard Core, for that see https://docs.orchardcore.net/).
http://docs.orchardproject.net
142 stars 242 forks source link

Layer Rules which targets Roles is undocumented #295

Closed rtpHarry closed 6 years ago

rtpHarry commented 8 years ago

You can actually use a layer rule which targets roles, but it isnt documented:

https://github.com/OrchardCMS/Orchard/issues/6912#issuecomment-225914292

rtpHarry commented 7 years ago

Docs page is here: http://docs.orchardproject.net/en/latest/Documentation/Managing-widgets/#adding-a-layer

But should probably be moved to its own page as Orchard.Layouts supports these rules to control the display of Elements (#289)

Also missing culture rules: https://github.com/OrchardCMS/Orchard/blob/dev/src/Orchard.Web/Modules/Orchard.Localization/Conditions/CultureConditionProvider.cs

And WorkContext: https://github.com/OrchardCMS/Orchard/blob/dev/src/Orchard.Web/Modules/Orchard.Conditions/Providers/BuiltinCondition.cs

When documenting double check if these conditions are enabled out of the box or if they require modules / features to be turned on.