An error occurred while processing the template.
Error on line 65, column 21 in 12882#12919#5959802
document.selectSingleNode("/root/dynamic-element[@name='Logo_Prodotto']/dynamic-content") is undefined.
It cannot be assigned to logo
1<#assign aui = taglibLiferayHash["/WEB-INF/tld/aui.tld"] /> 
2<#assign liferay_portlet = taglibLiferayHash["/WEB-INF/tld/liferay-portlet.tld"] /> 
3<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 
4 
5<style scoped> 
6#cerqua-carousel-products { 
7    background: rgba(23, 23, 23, 0.8); 
8    padding: 100px 25px; 
9
10#cerqua-carousel-products .cerqua-carousel-wrapper { 
11    width: 80%; 
12    margin: 0 auto; 
13
14#cerqua-carousel-products .asset-summary { 
15    line-height: 1.2em; 
16    font-size: 3rem; 
17    font-family: 'Chaparral W01 Regular', Georgia, serif; 
18    color: #FFF; 
19    margin: 25px 0; 
20
21#cerqua-carousel-products .cerqua-carousel-product-item .asset-image img { 
22    width: 100%; 
23
24#cerqua-carousel-products button.slick-arrow { 
25    background: url(../../img/home/slider-arrows.png); 
26    display: block; 
27    cursor: pointer; 
28    float: none; 
29    opacity: 0.6; 
30    position: absolute; 
31    top: 30%; 
32    width: 30px; 
33    height: 90px; 
34    z-index: 9999; 
35
36#cerqua-carousel-products button.slick-arrow.slick-prev { 
37    left: 20px; 
38
39#cerqua-carousel-products button.slick-arrow.slick-next { 
40    right: 20px; 
41    background-position: -30px 0; 
42
43 
44md-button.md-raised.md-primary { 
45    background: rgba(232,54,48,0.5) !important; 
46
47</style> 
48 
49<#if entries?has_content> 
50    <div id="cerqua-carousel-products" ng-cloak> 
51        <div class="cerqua-carousel-products"> 
52        	<#list entries as curEntry> 
53        		<#assign assetRenderer = curEntry.getAssetRenderer() /> 
54        		<#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
55        		<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
56        		<#if assetLinkBehavior != "showFullContent"> 
57        			<#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
58        		</#if> 
59        		 
60        		<#assign className = assetRenderer.getClassName() /> 
61        		<#if className == "com.liferay.portlet.journal.model.JournalArticle"> 
62                    <#assign journalArticle = assetRenderer.getArticle() /> 
63                    <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString())) /> 
64                     
65                    <#assign logo = document.selectSingleNode("/root/dynamic-element[@name='Logo_Prodotto']/dynamic-content") /> 
66             
67            		<div class="cerqua-carousel-product-item"> 
68            		    <div layout="row" class="cerqua-carousel-wrapper"> 
69            		        <div class="asset-content" flex="70"> 
70                				<div class="asset-summary"> 
71                					${assetRenderer.getSummary(locale)} 
72                				</div> 
73                				<md-button class="md-raised md-primary" href="${viewURL}" title="about"><@liferay.language key="read-more" /><span class="hide-accessible"><@liferay.language key="about" /> ${entryTitle}</span> &raquo;</md-button> 
74                			</div> 
75                			<div class="asset-image" flex="30"> 
76                				<a href="${viewURL}"><img src="${logo.getText()}" width="200"/></a> 
77                			</div> 
78                		</div> 
79            		</div> 
80            	</#if> 
81        	</#list> 
82    	<div> 
83	</div> 
84<#else> 
85	${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
86</#if>