Welcome Guest, you are in: Namespace

How Sueetie handles customizable and localized Page Titles

Page Title Essentials

The essential components that comprise the process of supporting customizable and localized Page Titles are 1) a PageTitles.xml resource file to store the localized page titles, and 2) passing the resource file KEY property from the .ASPX page to a SueetieBaseThemedPage class.

Let's start with the .ASPX page where we pass the PageTitles.xml KEY name to the SueetieBaseThemedPage class. To support localized titles, the web page must derive from SueetieBaseThemedPage class, not directly from SueetieBasePage. As a side note, the page used in the example is the Blogs List page.

Image

We're going to pass that value down to the SueetieBasePage class...

Image

...where the SueetieBasePage class calls the SueetieLocalizer to provide the key's value in the PageTitles.xml file.

Image

The PageTitles.xml is very simple, of course, and looks like this.

Image

Site Page Title Lead

A new Sueetie Site Setting property has been added called "TitleLead." This is the site identifier that precedes the individual page title and is set on the Sueetie General Site Settings form. The delimiter between the Title Lead and page title is customizable in the sueetie.xml localization file.

Image

ScrewTurn Wiki version 3.0.4.560.

Copyright © 2008-2012 Sueetie LLC. All rights reserved.
Sueetie