more template variables in nav and pagination
This commit is contained in:
parent
6a2ba37ef1
commit
5136efc983
6 changed files with 128 additions and 32 deletions
|
|
@ -361,6 +361,7 @@ sub view {
|
|||
$var->{'currentPage.isHome'} = ($current->getId eq $self->session->setting->get("defaultPage"));
|
||||
$var->{'currentPage.url'} = $current->getUrl;
|
||||
$var->{'currentPage.hasChild'} = $current->hasChildren;
|
||||
$var->{'currentPage.rank'} = $current->getRank;
|
||||
my $currentLineage = $current->get("lineage");
|
||||
my $lineageToSkip = "noskip";
|
||||
my $absoluteDepthOfLastPage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue