CodePlexProject Hosting for Open Source Software
In mvc3,I can use Layout = "~/myLayoutPage.cshtml" to set a layout .
But in orchard , I found the Layout does not allowed "set".
So please tell me how can i set a layout page for a cshtml?
For a specific page? Use URL alternates (it's in the Designer Tools module)
My action has attribute [Theme(false)] so the URL alternates does not work.
Oh,did a [Theme(false)] action can be have a layout? I haven't think about that...
You can return a custom ActionResult implementation and specify a different layout.
That's correct: a non-themed controller will not have layout.
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.