package WebGUI::i18n::English::Navigation; our $I18N = { '32' => { message => q|Show unprivileged pages|, lastUpdated => 1077080845 }, '30' => { message => q|Show system pages|, lastUpdated => 1077080766 }, '31' => { message => q|Show hidden pages|, lastUpdated => 1077080799 }, 'preview' => { message => q|Preview Navigation|, lastUpdated => 1077078456 }, 'navigation' => { message => q|Navigation|, lastUpdated => 1077078526, context => q|Title of the navigation manager in the admin console.| }, '22' => { message => q|Edit Navigation|, lastUpdated => 1078208044 }, '1098' => { message => q|Navigation, Add/Edit|, lastUpdated => 1078208044 }, '1093' => { message => q|

Edit Navigation lets you add and edit what are essentially 'menu templates' -- they define which pages' Menu Names should be included in a menu, optionally based on where that menu appears.

The Add/Edit Navigation form allows you to do choose the set of pages, and to choose which template is used to create the menu.

Identifier
This is the (unique) label you will later use to specify this Navigation definition in a ^Navigation(); macro.

Base Page
This identifies the spot in the Page Tree where the macro should commence listing pages. The first three choices will create 'absolute' menus -- ones which will display the same pages no matter which page you use the macro from.

The next four create 'relative' menus -- ones in which the items which will be displayed depend on the location in the page tree of the page in which you use the macro.

Use the 'Add new value' option if you want to specify a custom starting page. You can refer to a starting page by its urlized title or its pageId.

Return a Loop With
This determines which pages relative to the base page will be included in the menu which the macro creates.

Stop traversing when reaching level
This allows you to prune a menu -- in either direction -- when it reaches a specific level in the page tree. It's slightly different in effect than...

Max Depth
...which allows you to prune a menu -- in either direction -- when it reaches a number of levels in the page tree. 'Stop Traversing' is absolute; 'Max Depth' is relative. Presumably, if you set both, whichever one takes effect first will be the active limit (that is, they're OR'd together).

Show System Pages
Should the menus the macro creates include System pages such as Trash, Clipboard, Page not found, etc.? If you want Admins or Content Managers to be able to see System Pages, then select Yes and use the Navigation Template to hide them.

Show Hidden Pages
Should the menus include pages which are marked as Hidden? Similar to System Pages, if you want certain groups to be able to see Hidden Pages, then select Yes and use the Navigation Template to determine who can see them in the menu.

NOTE: Any user in Admin mode will automatically be able to see all pages that they can edit regardless of whether they are hidden or the value of this property.

Show Unprivileged Pages
Should the menus the macro creates include pages which the currently logged-in user does not have the privilege to view?

Template
This menu permits you to select a template which is used to style the output created by the macro -- if you need the same collection of pages in multiple formats, you'll need to create multiple Navigation entries with (slightly) different names; the Copy Navigation button is useful for this.

Reverse Output
When this option is switched on, the menu will be in reverse order.

Preview
The Preview button allows you to view a navigation setup without actually saving it.

|, lastUpdated => 1106872055, }, '1096' => { message => q|Navigation Template|, lastUpdated => 1078207966 }, '1097' => { message => q|

currentPage.menuTitle
The pageId of the base page.

currentPage.menuTitle
The menu title of the base page.

currentPage.title
The title of the base page.

currentPage.url
The URL of the base page.

currentPage.assetId
The assetId of the base page.

currentPage.parentId
The assetId of the parent of the base page.

currentPage.ownerUserId
The userId of the owner of the base page.

currentPage.synopsis
The synopsis of the base page.

currentPage.newWindow
A conditional indicating whether the base page should be opened in a new window.

currentPage.hasChild
A conditional indicating whether the base page has daughters.

currentPage.isHome
A conditional indicating whether the base page is the default page for the site.

currentPage.hasSibling
A conditional indicating whether the base page has siblings.

currentPage.hasViewableSiblings
A conditional indicating whether the base page has siblings that are viewable by the current user.

currentPage.hasViewableChildren
A conditional indicating whether the base page has children that are viewable by the current user.

page_loop
A loop containing page information in nested, hierarchical order.

unfolded_page_loop
This loop contains the same data as page_loop but the order is different. unfolded_page_loop returns it's pages in an unfolded manner; grouped by parent id. You'll probably need page_loop, but there are (CSS) menus that need unfolded_page_loop to work properly.

Both page_loop and unfolded_page_loop have the following loop variables:

page.menuTitle
The menu title of this page.

page.title
The title of this page.

page.url
The complete URL to this page.

page.assetId
The assetId of this page.

page.parentId
The assetId of the parent of this page.

page.ownerUserId
The userId of the owner of this page.

page.synopsis
The synopsis of this page.

page.newWindow
A conditional indicating whether this page should be opened in a new window.

page.absDepth
The absolute depth of this page (relative to nameless root).

page.relDepth
The relative depth of this page (relative to starting point).

page.isSystem
A conditional indicating whether this page is a system page (Trash, Clipboard, etc).

page.isHidden
A conditional indicating whether this page is a hidden page.

page.isViewable
A conditional indicating whether the user has permission to view it.

page.indent
A variable containing the indent for the current page. The default indent is three spaces. Use the page.indent_loop if you need a more flexible indent.

page.indent_loop
A loop that runs page.relDepth times.

indent
A number representing the loop count.

page.isBranchRoot
A conditional indicating whether this page is a root page.

page.isTopOfBranch
A conditional indicating whether this page is a top page (daughter of root).

page.isChild
A conditional indicating whether this page is a daughter of the base page.

page.isParent
A conditional indicating whether this page is the mother of the base page.

page.isCurrent
A conditional indicating whether this page is the base page.

page.isDescendent
A conditional indicating whether this page is a descendant of the base page.

page.isAncestor
A conditional indicating whether this page is an ancestor of the base page.

page.inBranchRoot
This conditional is true if this page is a descendant of the root page of the base page.

page.isSibling
A conditional indicating whether this page is the sister of the base page.

page.inBranch
A conditional that is the logical OR of isAncestor, isSister, isBasepage and isDescendent.

page.hasChild
A conditional indicating whether this page has a daughter. In other words, it evaluates to true if this page is a mother.

page.parent.*
These variables will be undefined if the page is a root.

page.parent.menuTitle
The menu title of the mother of this page.

page.parent.title
The title of the mother of this page.

page.parent.url
The urlized title of the mother of this page.

page.parent.assetId
The assetId of the mother of this page.

page.parent.parentId
The assetId of the grandmother of this page.

page.parent.ownerUserId
The userId of the owner of the mother of this page.

page.parent.synopsis
The synopsis of the mother of this page.

page.parent.newWindow
A conditional indicating whether the mother of this page should be opened in a new window.

page.depthIs1 , page.depthIs2 , page.depthIs3 , page.depthIs4 , page.depthIsN
A conditional indicating whether the depth of this page is N. This variable is useful if you want to style a certain level.

<tmpl_if page.depthIs1>
   <img src="level1.gif">
<tmpl_else>
   <img src="defaultBullet.gif">
</tmpl_if>

page.relativeDepthIs1 , page.relativeDepthIs2 , page.relativeDepthIs3 , page.relativeDepthIsN
A conditional indicating whether the relative depth of this page is N.

page.isRankedFirst
This property is true if this page is the first within this level. Ie. has no left sister.

page.isRankedLast
This property is true if this page is the last within this level. Ie. has no right sister.

page.depthDiff
The difference in depth of this page and the page processed before it. This only has a value when you go up in depth. If you go down, this would be always 1 and going down a level can be detected with page.isRankedFirst.

page.depthDiffIs1, page.depthDiffIs2, page.depthDiffIs3, page.depthDiffIsN
True if the page.depthDiff variable is N.

page.depthDiff_loop
A loop that runs page.depthDiff times. This loop contains no loop variables.

 

|, lastUpdated => 1108598200, }, '1094' => { message => q|Navigation, Manage|, lastUpdated => 1078208044 }, '1095' => { message => q|

The general idea behind the navigation system is that instead of hardwiring all the various choices you might make into the code, the system manages a 'library' of these styles, just the way it does with Snippets, Images, Templates, Page Styles, and other types of reusable information. You can create a new 'Navigation menu style', give it a name, and then use it anywhere on your site that you like.

The navigation system consists of two parts:

  1. The ^Navigation(); macro, which determines which files may be included in the menu and which template to use.
  2. The Navigation Template, which creates the menu and presents it to the user.

To create a new menu for your site, place a ^Navigation(myMenu); macro into a style. An "edit myMenu" link will be displayed if "myMenu" is not defined.

Note: In this example "myMenu" is used, but you can pick any name, as long as it is unique.

|, lastUpdated => 1101774239 }, }; 1;