user2614405
user2614405

Reputation:

How to add pages a part of theme in Orchard CMS

I need to add a CSHTML/HtML both type of pages as the part of the theme only (i.e. inside the theme folder) They are added in the folder but we can use only one page of the theme i.e. Layout.cshtml as master page. The other I need to add are test pages but I need to use that as to put some content & display. How to display them?

http://localhost:65012/Themes/MyTheme/demos/layout1.html

This gives 'The resource cannot be found' Error. any suggestions

Upvotes: 0

Views: 62

Answers (1)

Marco Regueira
Marco Regueira

Reputation: 1088

To be able to download static files you need a to enable the StaticFileModule of II7, or the StaticFileHandler for II6.

The fastest way to do so is copy the web.config file from a folder like Media to your demos folder.

Upvotes: 1

Related Questions