From aa9f978e1c93aaf0bd029bc1a273284f34a6d8c5 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 16 Nov 2004 06:43:54 +0000 Subject: [PATCH] Changed Revert output to Reverse output. Lots of rework in Navigation, Manage. Some small changes to Navigation, Add/Edit. --- lib/WebGUI/i18n/English/Navigation.pm | 4 ++-- lib/WebGUI/i18n/English/WebGUI.pm | 33 +++++++++++++++------------ 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/lib/WebGUI/i18n/English/Navigation.pm b/lib/WebGUI/i18n/English/Navigation.pm index 820bae32d..e114ab654 100644 --- a/lib/WebGUI/i18n/English/Navigation.pm +++ b/lib/WebGUI/i18n/English/Navigation.pm @@ -128,8 +128,8 @@ our $I18N = { }, '29' => { - message => q|Revert output|, - lastUpdated => 1077080738 + message => q|Reverse output|, + lastUpdated => 1100587628 }, '6' => { diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index 95716865d..b8c32588c 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -5394,16 +5394,18 @@ Start typing! Or better yet, copy the snippet from some other electronic documen }, '1093' => { - message => q|

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

+ 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.

+

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?
System pages: Trash, clipboard, page not found, etc.

-

Show Hidden Pages
Should the menus the macro creates include pages which are marked as Hidden?

+

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.

Show Unpriviliged Pages
Should the menus the macro creates include pages which the currently logged-in user does not have the privilige 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.

-

Revert 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 => 1078461049 +

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 => 1100586425, }, '908' => { @@ -5949,14 +5953,15 @@ Privileges and styles assigned to pages in the package will not be copied when t }, '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 'nav menu style', give it a name,
and then use it anywhere on your site that you like.

+ 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 'Navgation 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 editor
  2. -
  3. The ^Navigation(); macro
-

The easiest way to add a completely new menu to your site is to put a ^Navigation(myMenu); macro into your style.
A "edit myMenu" link will be displayed if "myMenu" is not defined.

+
  • The ^Navigation(); macro, which determines which files may be included in the menu and which template to use.
  • +
  • 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 => 1078462928 + lastUpdated => 1100587054 }, '505' => {