Skip to Content
An error occurred while processing the template.
Expression actionbuttonurl is undefined on line 104, column 69 in 10155#10195#53189292.
1<#assign returUrl=httpUtil.getParameter(request['attributes']['CURRENT_COMPLETE_URL'], "retur", false)/> 
2 
3<#assign stringService=utilLocator.findUtil("hioabeanlocator-hook", "no.hioa.liferay.nap.hioabeanlocator.HioaStringService")/> 
4<#assign pageService=utilLocator.findUtil("hioabeanlocator-hook", "no.hioa.liferay.nap.hioabeanlocator.HioaPageService")/> 
5 
6<#assign breadCrumbService=utilLocator.findUtil("hioabeanlocator-hook", "no.hioa.liferay.nap.hioabeanlocator.BreadCrumbService")/> 
7<#if (request['attributes'])??> 
8    <#assign navmodule = breadCrumbService.hasNavModule(request['attributes']['LAYOUT'], request['theme-display']['plid'], siteGroupId, companyId)> 
9<#else> 
10    <#assign navmodule = false> 
11</#if> 
12<#if (request['theme-display'])??> 
13    <#assign breadcrumbs = breadCrumbService.getBreadCrumbs(request['theme-display']['plid'], locale, false)> 
14</#if> 
15 
16<#assign DDLRecordLocalService = serviceLocator.findService("com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService")> 
17<#assign GroupLocalService = serviceLocator.findService("com.liferay.portal.service.GroupLocalService")> 
18<#assign group = GroupLocalService.getGroup(groupId)> 
19<#assign expandoBridge = group.getExpandoBridge()> 
20<#assign actionButtonDefinitionTableId = expandoBridge.getAttribute("actionbuttonid")> 
21<#assign actionButtonDefinitions = DDLRecordLocalService.getRecords(actionButtonDefinitionTableId)> 
22 
23<#assign displaydate = .vars['reserved-article-display-date'].data> 
24<#assign modifydate = .vars['reserved-article-modified-date'].data> 
25<#assign orgloc = locale> 
26<#assign originalLocale = .locale> 
27<#setting locale = localeUtil.getDefault()> 
28<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
29<#assign modifydate = modifydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
30<#assign locale = originalLocale> 
31 
32<#assign headerStart="<h1"/> 
33<#assign headerEnd="</h1>"/> 
34<#if request['theme-display']?? && pageService.hasNavigationContent(request['theme-display']['plid'], siteGroupId)> 
35    <#assign headerStart="<h2"/> 
36    <#assign headerEnd="</h2>"/> 
37</#if> 
38 
39<#macro l key> 
40${languageUtil.get(orgloc, key)} 
41</#macro> 
42 
43<#-- Main content --> 
44<main class="main row-fluid" role="main"> 
45 
46<#-- Article --> 
47    <article class="article article-static" role="article"> 
48        <div class="article-header"> 
49         
50        <#if !navmodule> 
51            <#if breadcrumbs??> 
52                <nav class="breadcrumbs"> 
53                    <ol class="clearfix"> 
54                        <#list breadcrumbs as breadcrumb> 
55                            <li><a href="${breadcrumb.URL}" title="${breadcrumb.title}">${breadcrumb.title}</a></li> 
56                        </#list> 
57                    </ol> 
58                </nav> 
59            </#if> 
60        </#if> 
61        <#-- Title --> 
62            ${headerStart} title="${.vars['reserved-article-title'].data}" class="article-title"> 
63             
64            <#if (returUrl?? && returUrl?length >0)> 
65            <span class="header-back-to"> <a class="icon-circle-arrow-left previous-level" href="${httpUtil.decodeURL(returUrl)}" title="<@l "template.back.to.overview"/>"> <span class="helper-hidden-accessible"><@l "template.back.to.overview"/></span> </a> </span> 
66            </#if> 
67             
68            ${.vars['reserved-article-title'].data} 
69            ${headerEnd} 
70        <#-- Lead --> 
71            <div class="article-lead lead clearfix"> 
72                <strong> 
73                ${ingress.getData()} 
74                </strong> 
75            </div> 
76        </div> 
77    <#-- Body pt1 --> 
78    <#if (body1.getData()) == "" > 
79    <#elseif (body1.getData()) == "" > 
80    <#else> 
81        <div class="article-body clearfix"> 
82        ${body1.getData()} 
83        </div> 
84    </#if> 
85    <#-- Shortcuts --> 
86    <#if actionbuttonalttext?? && actionbuttonalttext.getSiblings()?has_content> 
87        <#if (actionbuttonalttext.getSiblings()[0].getData()?length > 0)> 
88            <ul class="article-btn-group clearfix row-fluid"> 
89                <#list actionbuttonalttext.getSiblings() as cur_actionbuttonalttext> 
90                    <#assign the_other_id>${cur_actionbuttonalttext.getChild("actionbutton").getData()?replace('[\"\\[\\]]','','r')}</#assign> 
91					<#assign ifSingle> 
92						<#if (actionbuttonalttext.getSiblings()?size == 1)> 
93								article-single 
94						</#if> 
95					</#assign> 
96                    <#list actionButtonDefinitions as def> 
97                        <#assign the_id>${def.getFieldValue("id")}</#assign> 
98                        <#if the_id == the_other_id> 
99                            <#assign actionbuttonurl = def.getFieldValue("url")> 
100                        </#if> 
101                    </#list> 
102                    <li class="article-btn span6 ${ifSingle}"> 
103						<div class="article-bordered"> 
104							<img src="${actionbuttonurl}" alt="${the_other_id}" /> 
105							<p> 
106							${stringService.stripLinks(cur_actionbuttonalttext.getData())} 
107							</p> 
108						</div> 
109                    </li> 
110                </#list> 
111            </ul> 
112        </#if> 
113    </#if> 
114    <#-- Button --> 
115    <#if calltoactiontext?has_content> 
116        <#if (calltoactiontext.getData()?length > 0)> 
117        <#if calltoactiontext.getChild("calltoactiontype")??> 
118            <#assign calltoactiontype>${calltoactiontext.getChild("calltoactiontype").getData()?replace('[\"\\[\\]]','','r')}</#assign> 
119            <div class="row-fluid"> 
120            <div class="btn-wrapper cta-btn-wrapper-bord"> 
121                <a href="${calltoactiontext.getChild('calltoactionlink').getData()}" class="btn article-btn2 btn-large btn-primary span6 offset3 clearfix" title="${calltoactiontext.getData()}" role="button"> 
122                    <span class="icon-hioa-${calltoactiontype}"></span> ${calltoactiontext.getData()} 
123                </a> 
124            </div> 
125            </div> 
126            </#if> 
127        </#if> 
128    </#if> 
129    <#-- Body pt2 --> 
130    <#if body2.getData()?has_content> 
131        <div class="article-body clearfix"> 
132            <div class="row-fluid"> 
133                <#if body3.getData()?has_content> 
134                    <div class="span6"> 
135                    ${body2.getData()} 
136                    </div> 
137                    <div class="span6"> 
138                    ${body3.getData()} 
139                    </div> 
140                <#else> 
141                ${body2.getData()} 
142                </#if> 
143            </div> 
144        </div> 
145    </#if> 
146    <#-- Article meta --> 
147        <div class="article-body clearfix"> 
148            <div class="article-meta row-fluid clearfix"> 
149                <div class="span4"><@l "template.statisk.artikkel.published"/> <time datetime="${displaydate?string["yyyy-MM-dd"]}">${displaydate?string["dd.MM.yyyy"]}</time></div> 
150                <div class="span4"><@l "template.statisk.artikkel.last.update"/> <time datetime="${modifydate?string["yyyy-MM-dd"]}">${modifydate?string["dd.MM.yyyy"]}</time></div> 
151            </div> 
152        </div> 
153    </article> 
154</main> 

Contact IT helpdesk

Do you need any IT support?