OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.37k stars 1.12k forks source link

Possible Widget Layer Rule Misunderstanding #543

Closed orchardbot closed 9 years ago

orchardbot commented 13 years ago

aimkai created: https://orchard.codeplex.com/workitem/16711

I am working with Orchard CMS v0.8 and am trying to set the layer rule for a particular layer in a website. This can be done by looking at the "Orchard_Widgets_LayerPartRecord" table in the database.

There is a field whereby you can specify what they layer rule is which is great. However I am having a little trouble with getting it to match on a wildcard.

For example: I would want a layer rule to be url "~/admin/*" so that all pages that matched this url would have the layer.

I checked the underlying code, "UrlRuleProvider.cs" and it appears that it should match however it does not. Anyone have any ideas?

Thanks in advance.

orchardbot commented 13 years ago

@sebastienros commented:

This is a bug which has been fixed recently and available on the dev branch only.

orchardbot commented 13 years ago

@sebastienros closed and commented:

Fixed in changeset http://orchard.codeplex.com/SourceControl/changeset/changes/523f3564d2c0