Site Map Site Map

An error occurred while processing the template.
Error on line 1, column 1 in 10155#10187#38840
utilLocator.findUtil("iop-template-helper-hook", "nz.co.skytv.templatehelper.ThemeHelperService") is undefined.
It cannot be assigned to themeHelper
1<#assign themeHelper=utilLocator.findUtil("iop-template-helper-hook", "nz.co.skytv.templatehelper.ThemeHelperService") > 
2 
3<#assign currentPage = themeDisplay.layout /> 
4<#assign totalCurrentPageLevels = themeDisplay.layout.ancestors?size /> 
5<#assign displayDepth = portletPreferences.displayDepth[0]?number /> 
6 
7<#if displayDepth gt 0 && displayDepth lt totalCurrentPageLevels > 
8    <#assign totalCurrentPageLevels = displayDepth /> 
9</#if> 
10 
11<#assign heading = "" /> 
12<#if portletPreferences.portletSetupTitle_en_US??> 
13    <#list portletPreferences.portletSetupTitle_en_US as portletTitle> 
14        <#if portletTitle != "Asset Publisher"> 
15            <#assign heading = themeHelper.convertUnderscores(portletTitle) /> 
16        </#if> 
17    </#list> 
18<#else> 
19    <#if totalCurrentPageLevels gt 0> 
20        <#assign heading = currentPage.ancestors[totalCurrentPageLevels-1].getName(locale) /> 
21    </#if> 
22</#if> 
23 
24<#macro displayMenu entries currentPageURL > 
25    <#if entries?has_content> 
26        <#assign currentPageLinkIndex = 0 /> 
27        <#assign validPageLinkCounter = 0 /> 
28        <#assign currentHtmlListItem = "" /> 
29 
30        <#list entries as pageEntry> 
31            <#if pageEntry.hidden != true> 
32                <#if pageEntry.friendlyURL == currentPageURL> 
33                    <#assign currentPageLinkIndex = validPageLinkCounter /> 
34                </#if> 
35                <#assign validPageLinkCounter = validPageLinkCounter + 1 /> 
36            </#if> 
37        </#list> 
38 
39        <div class="iop-slick" slick initial-slide="${currentPageLinkIndex}" arrows="false" dots="false" infinite="false" center-mode="false" swipe="true" variable-width="true" touch-move="true" swipe-to-slide="true" > 
40            <#list entries as pageEntry> 
41                <#assign currentPageLink="" /> 
42                <#if pageEntry.hidden != true> 
43                    <#if pageEntry.friendlyURL == currentPageURL> 
44                        <#assign currentPageLink="current" /> 
45                    </#if> 
46                    <div class="section-link"> 
47                        <h4> 
48                            <#if !pageEntry.isTypeURL()> 
49                                <a class="${currentPageLink} iop-link greys-anatomy" href="${pageEntry.getRegularURL(request)}"> 
50                            <#else> 
51                                <a class="${currentPageLink} iop-link greys-anatomy" href="${pageEntry.getRegularURL(request)}" target="_blank"> 
52                            </#if> 
53                                <span>${pageEntry.getName(locale)}</span> 
54                            </a> 
55                        </h4> 
56                    </div> 
57                </#if> 
58            </#list> 
59        </div> 
60    </#if> 
61</#macro> 
62 
63<div class="iop-bg all-blacks iop-sectionmap"> 
64    <#if heading?has_content> 
65        <div class="container"> 
66            <div class="grid-12 iop-sectionmap-header iop-txt snow-white"> 
67                <h2>${heading}</h2> 
68            </div> 
69        </div> 
70    </#if> 
71    <div class="container"> 
72        <div class="grid-12"> 
73            <#if totalCurrentPageLevels gt 0> 
74                <#list 1..totalCurrentPageLevels as i> 
75                    <#if i = totalCurrentPageLevels> 
76                        <@displayMenu entries=currentPage.ancestors[totalCurrentPageLevels-i].children currentPageURL=currentPage.friendlyURL /> 
77                    <#else> 
78                        <@displayMenu entries=currentPage.ancestors[totalCurrentPageLevels-i].children currentPageURL=currentPage.ancestors[totalCurrentPageLevels-i-1].friendlyURL /> 
79                    </#if> 
80                </#list> 
81            <#else> 
82                <@displayMenu entries=entries currentPageURL=currentPage.friendlyURL /> 
83            </#if> 
84        </div> 
85    </div> 
86</div> 

Nested Portlets Nested Portlets

Nested Portlets is temporarily unavailable.