Skip to content

Commit

Permalink
[splittingred#40] Add wf.level placeholder to items for showing curre…
Browse files Browse the repository at this point in the history
…nt depth
  • Loading branch information
Shaun McCormick committed Oct 31, 2011
1 parent 532a4c7 commit 37aac1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/components/wayfinder/docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Changelog for Wayfinder (for Revolution).

Wayfinder 2.3.3
====================================
- [#40] Add wf.level placeholder to items for showing current depth
- [#42] Allow authenticated mgr users with view_unpublished to use new previewUnpublished property to preview unpublished Resources in menus
- [#41] Fix issue with Wayfinder and truncated result sets due to getIterator call

Expand Down
1 change: 1 addition & 0 deletions core/components/wayfinder/wayfinder.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ public function renderRow(&$resource,$numChildren) {
$placeholders['wf.classNames'] = $classNames;
$placeholders['wf.classnames'] = $classNames;
$placeholders['wf.id'] = $useId;
$placeholders['wf.level'] = $resource['level'];
$placeholders['wf.docid'] = $resource['id'];
$placeholders['wf.subitemcount'] = $numChildren;
$placeholders['wf.attributes'] = $resource['link_attributes'];
Expand Down

0 comments on commit 37aac1b

Please sign in to comment.