13 November 2012

Orchard: Change Page Title

Hello,

Here is how make so that you have a custom title for a custom page (View).

Open the View (.cshtml) file that you want with a custom title and add this code at the top of the file:

Code:
@{
    Layout.Title = T("Custom Title | EXTREMEDEV").Text;
}

1 comment:

Buy Contact Lenses said...

It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to came here! Thanks for sharing the such information with us.

Post a Comment

your thoughts are welcome:

Need more? Leave comments and subscribe to my blog.

.