diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 4510b9cab..f0b1b0f3e 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -37,6 +37,8 @@ subclasses. - fix [ 1239601 ] Thread::getName is not Internationalized (and many other Assets, too) - fix [ 1240316 ] Doc erro in Folder template thumbnail => thumbnail.url + - The Navigation template variable "unfolded_page_loop" was removed a long + time ago, but the documentation was never updated until now. 6.6.4 diff --git a/lib/WebGUI/i18n/English/Asset_Navigation.pm b/lib/WebGUI/i18n/English/Asset_Navigation.pm index f41e1ae1b..ee1935e2d 100644 --- a/lib/WebGUI/i18n/English/Asset_Navigation.pm +++ b/lib/WebGUI/i18n/English/Asset_Navigation.pm @@ -212,39 +212,36 @@ the Navigation Template to determine who can see them in the menu.
}, '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.menuTitle
The pageId of the start page.
currentPage.assetId
The assetId of the start page.
currentPage.parentId
The assetId of the parent of the start page.
currentPage.ownerUserId
The userId of the owner of the start page.
currentPage.synopsis
The synopsis of the start page.
currentPage.newWindow
A conditional indicating whether the start page should be opened in a new window.
currentPage.menuTitle
The menu title of the start page.
currentPage.title
The title of the start page.
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.
currentPage.url
The URL of the start page.
currentPage.hasChild
A conditional indicating whether the start page has daughters.
currentPage.hasSibling
A conditional indicating whether the start page has siblings.
currentPage.hasViewableSiblings
A conditional indicating whether the start page has siblings that are viewable by the current user.
currentPage.hasViewableChildren
A conditional indicating whether the start 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:
-|, lastUpdated => 1121933073, },page.menuTitle
-
The menu title of this page.page.rank
-
The rank of this page compared with is siblings.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.menuTitle
+
The menu title of this page.page.title
+
The title of this page.page.rank
The rank of this page compared with is siblings.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.url
The complete URL to this page.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.@@ -260,6 +257,14 @@ loop variables:-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.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 depth of this page is N, relative to the starting page.page.depthDiff
+
The difference in depth between the previous page and this page, parent.absDepth - page.absDepth, although parent.absDepth is not a template variable.page.depthDiffIs1, page.depthDiffIs2, page.depthDiffIs3, page.depthDiffIsN
+
True if the page.depthDiff variable is N. N can be positive or negative.page.depthDiff_loop
+
A loop that runs page.depthDiff times, if page.depthDiff > 0. This loop contains no loop variables.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.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
@@ -269,15 +274,7 @@ loop variables:
The title of the mother 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 depth of this page is N, relative to the starting page.page.depthDiff
-
The difference in depth between the previous page and this page, parent.absDepth - page.absDepth, although parent.absDepth is not a template variable.page.depthDiffIs1, page.depthDiffIs2, page.depthDiffIs3, page.depthDiffIsN
-
True if the page.depthDiff variable is N. N can be positive or negative.page.depthDiff_loop
A loop that runs page.depthDiff times, if page.depthDiff > 0. This loop contains no loop variables.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.