Se ha producido un error al procesar la plantilla.
Unable to parse Velocity template
1<#assign dLFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
2
3<div class="container">
4 <div class="imatges_petites_carro carro col-xs-11" style="margin-left: 40px;margin-right: 40px;">
5 <#if Imatge.getSiblings()?has_content>
6 <#list Imatge.getSiblings() as cur_Imatge>
7 <div style="padding:5px;">
8 <a class="imatge_carro" href="${cur_Imatge.Enllac.getData()}" title="${cur_Imatge.Titol.getData()}">
9
10 <#if cur_Imatge?has_content>
11 <#assign imageSplit1 = cur_Imatge.getData()?split("?")>
12 <#assign imageOnlyUrl = "">
13 <#if imageSplit1?size == 1>
14 <#assign imageOnlyUrl = cur_Imatge.getData()>
15 <#else>
16 <#assign imageOnlyUrl = imageSplit1[0]>
17 </#if>
18 <#assign imageSplit2 = imageOnlyUrl?split("/")>
19 <#assign uuid = "">
20 <#list imageSplit2 as x>
21 <#assign uuid = x>
22 </#list>
23 <#assign fileEntryId = dLFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid, themeDisplay.getScopeGroupId()).getFileEntryId()>
24
25 <img data-fileentryid="${fileEntryId}" src="${cur_Imatge.getData()}" alt="${cur_Imatge.Titol.getData()}"
26 style="max-width: 100%;
27 max-height:
28 100%;" />
29
30 </#if>
31 <div style="width: 100%; text-align: center; margin-top: 10px;">${cur_Imatge.Titol.getData()}</div>
32 </a>
33 </div>
34 </#list>
35 </#if>
36 </div>
37</div>
38
39<script type="text/javascript">
40 $(document).ready(function(){
41 $('.carro').slick({
42 dots: false,
43 infinite: true,
44 slidesToShow: 4,
45 slidesToScroll: 1,
46 responsive: [
47 {
48 breakpoint: 992,
49 settings: {
50 slidesToShow: 2,
51 slidesToScroll: 1
52 }
53 },
54 {
55 breakpoint: 600,
56 settings: {
57 slidesToShow: 1,
58 slidesToScroll: 1
59 }
60 }
61 ]
62 });
63 });
64</script>