Alpha Release Installation Directions

Herein are installation directions for the pre-release versions of the templated DNNMenu navigation provider and a version of the MinimalExtropy skin that utilizes this provider.

To install:

  1. Use a clean 5.0.1 install, login as host,
  2. Install the DNNTemplatedMenuNavigationProvider package,
  3. Install the Templated MinimalExtropy skin package, and
  4. Change a page skin (or the site skin, if you’re brave) to use the MinimalExtropy.Templated/Index skin (the only change here is to use this provider; it was hardcoded in the original design).

To use:

  • Navigate to the settings for the page that is the root of the menu you wish to template (e.g. the Admin page).
  • In the Advanced->Page Header Tags textbox, enter the string:
                <meta name="menuTemplate" content="" />
  • Return to the page you specified to use the template skin, and note that the tagged menu is now using the default template (which is not that attractive until the pages have been structured into a better hierarchy).
  • The default template displays children in a large font; grandchildren are in a normal font. You’ll have to use the Admin->Tabs page to rearrange some tabs to see this behavior. For example, in one of the screenshots I moved the Tabs page to be under the “Web Administration” tab.

The default template is located at /Providers/NavigationProviders/DNNTemplatedMenuNavigationProvider/Default.ascx. You can specify an alternate template by adding its name to the content portion of the meta tag; by way of example, a tag that reads as belowwill use the Descriptions.ascx template, which displays a page’s description (if any) underneath its link.
                <meta name="menuTemplate" content="Description" />
Skin designers can deploy their own templates; these may be accessed via a tag of the form:
                <meta name="menuTemplate" content="skin:[TemplateName]" />
Similarly, a host may provide a portal-specific template which may be accessed via:
                <meta name="menuTemplate" content="portal:[TemplateName]" />
Finally, the templates generally render highly similar markup (a nested hierarchy of ULs) and are differentiated primarily by CSS. A template CSS can be specified through another meta tag, formatted as:
                <meta name="menuCss" content="CssFile" />
Like the template, a “portal:” or “skin:” prefix may be used; if none are specified the css is drawn from the provider directory. The second screenshot below uses the “wide” css template.

So, to reproduce the screenshots, the first uses the following metadata:
                <meta name="menuTemplate" content="" />
And the second uses:
                <meta name="menuTemplate" content="Heading" />
                <meta name="menuCss" content="Wide" />
Everything else is just normal page configuration (titles, page descriptions, and images).

Note that this provider is a pre-release and is not for distribution to any (external) third parties or for production use.

Demonstration Screenshots

Screenshots demonstrating the flexibility and utility of this menu provider are available.

Last edited May 10, 2009 at 6:03 PM by BrandonHaynes, version 1

Comments

No comments yet.