Just A Simple Page Title Control for 5.1 ... Where is it? This should be DEFAULT!
http://www.sitefinity.com/marketplace/modules/page-title-control.aspx
This only works on 3x.
How do I do the same thing for 5x?
Thanks for any help!!!
Hey Jonathan,
You could do something like this to retrieve the description or title:
01.
if
(!
this
.IsDesignMode())
02.
03.
string
description =
new
PageManager().GetPageNode(
new
Guid(SiteMapBase.GetCurrentProvider().CurrentNode.Key)).Description;
04.
if
(description !=
""
) ltl_PageDescription.Text = description;
05.
string
Title =
new
PageManager().GetPageNode(
new
Guid(SiteMapBase.GetCurrentProvider().CurrentNode.Key)).Title;
06.
if
(Title !=
""
) ltl_PageTitle.Text = Title;
07.
08.
09.
else
10.
11.
// do something different
12.
Nah - I'm a designer, not a .net programmer. I need some definite help here. Willing to pay if necessary for a Page Title widget. Drag and drop man, drag and drop.... ;-)