Sintax for layer rule

Topics: Customizing Orchard
Feb 27, 2014 at 5:29 PM

which is the syntax to create a widget layer rule based on a specific content type?

I have tried with contenttype("mycontenttype") as seen on a web site but it doesn't work.

Thanks for helping!
Feb 27, 2014 at 6:14 PM
I follow the instructions on this link:

And it works. Please try before with a Core content type , like "Blog Post". And if it works you will find the problem easily.

Remember it is case sensitive. If your content type name is "MyContentType", then "mycontenttype" will not work.