$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...
- home
- about us
- products
- contact
- services