Using page titles instead of names on the DNN breadcrumb skinobject
Simple, but useful. A fellow developer needed to use the page title (and not the page name which is the default) on the breadcrumb skinobject of his skin. The reason was that his menu had limited real estate so he had to keep names short, but he needed to give more information on the navigation breadcrumb.
The solution is just so simple! In your skin’s .ascx file, you’ll see a definition like the following:
<dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" CssClass="Breadcrumb" RootLevel="0" Separator=" > " />
If you add the following attribute:
UseTitle="True"
You’ll have something like this:
<dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" CssClass="Breadcrumb" RootLevel="0" Separator=" > " UseTitle="True" />
And then your breadcrumb will be using page titles instead of names.
Enjoy.
1 comments:
Post a Comment