Vine Type Content Management with Standards in Mind

19 Oct 2005

$section_priority

variable
  • $section_priority
type
  • behavioral
associated template variable
  • $_navigation
description

This variable specifies the order by which top-level sections should be displayed. Separate section names with a bar | character.

This allows for arbitrary ordering of top-level sections. Any top-level sections that are not listed in the $section_priority variable will appear in random order following any sections that do appear in the $section_priority key.

example

If this is the entry in the vinetype.config file...

$section_priority:home|news|about us|products|specials|contact

...and the top-level sections that exist on the site are...

  • products
  • about us
  • contact
  • services
  • home

...the sections will be displayed in this order...

  1. home
  2. about us
  3. products
  4. contact
  5. services

download

Visit the Download Area to test drive the standard in standards compliance.

upgrade

Add professional features to your Vine Type site by purchasing a Vine Type Pro license.

feedback

Discuss Vine Type or pose questions at the official Vine Type Forum hosted by ASP Advice.

about us

Learn more about this site and the features it is demonstrating.

© 2001-2017 vine branches — website powered by vine type