Multimedia Hero Banner
Multimedia
media-gallery-web Portlet
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028543" at line 92, column 59]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${leonardo.stringEllipsis(htmlUtil.ex... [in template "20115#20151#1028543" at line 92, column 33]
----
1<!--Start Module: Multimedia Card (F1) Video Gallery - Multimedia -->
2<#if VideoInfo?has_content>
3 <div class="multimedia--card videos">
4 <@leonardo.articleInfo .vars "(F1) Video Gallery - Multimedia"/>
5 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
6 title="${AlbumTitle.getData()!} ${htmlUtil.stripHtml(AlbumDescription.getData()!)}"
7 data-media-type="VIDEOS"
8 data-title="${AlbumTitle.getData()!}"
9 data-desc="${AlbumDescription.getData()!}">
10
11 <#assign videoType="dml">
12 <#list VideoInfo.getSiblings() as curVideo>
13 <#if (curVideo.YoutubeId.getData() != "") >
14 <#assign videoType="yt">
15 <#break>
16 </#if>
17 </#list>
18 <div class="multimedia--card--graphic-container video-${videoType}">
19 <#list VideoInfo.getSiblings() as curVideo>
20 <#assign isYtVideo = (curVideo.YoutubeId.getData() != "") >
21 <#assign isCantoVideo = (curVideo.CantoUrl.getData())?has_content && (curVideo.CantoUrl.getData() != "") >
22 <#if isCantoVideo>
23 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.CantoUrl.getData()+"\", \"type\": \"canto\"}], \"showControls\": true}">
24 <#elseif isYtVideo>
25 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.YoutubeId.getData()+"\", \"type\": \"yt\"}]}">
26 <#else>
27 <#assign videoData = "">
28 <#list curVideo.Video.getSiblings() as cur_Video>
29 <#assign videoFile = cur_Video.getData()>
30 <#assign videoFileType = cur_Video.VideoType.getData()>
31 <#if videoData?? && videoData != "">
32 <#assign videoData = videoData + ",">
33 <#else>
34 <#assign videoData = videoData + "{\"videoSources\":[">
35 </#if>
36 <#assign videoData = videoData + "{\"src\":\"" + videoFile + "\",\"type\":\"" + videoFileType + "\"}">
37 </#list>
38 <#assign videoData = videoData + "], \"showControls\": true}">
39 </#if>
40 <#assign video = htmlUtil.escape(videoData)>
41 <#assign scalingDetails = {
42 "desktop": {"alternateImage": {}, "key": "w_317"},
43 "tl": {"alternateImage": {}, "key": "w_317"},
44 "tp": {"alternateImage": {}, "key": "w_317"},
45 "mobile": {"alternateImage": {}, "key": "w_317"}
46 }>
47 <#assign posterImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
48 <#assign scalingDetails = {
49 "desktop": {"alternateImage": {}, "key": "w_720"},
50 "tl": {"alternateImage": {}, "key": "h_695"},
51 "tp": {"alternateImage": {}, "key": "w_768"},
52 "mobile": {"alternateImage": {}, "key": "w_375"}
53 }>
54 <#assign posterFullImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
55 <#if curVideo?is_first>
56 <img class="multimedia--card--graphic" alt="${posterImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
57 data-src-url-d="${posterImg.desktop!}"
58 data-src-url-tl="${posterImg.tablet_landscape!}"
59 data-src-url-tp="${posterImg.tablet_portrait!}"
60 data-src-url-m="${posterImg.mobile!}"
61 data-src-url-full-d="${posterFullImg.desktop!}"
62 data-src-url-full-tl="${posterFullImg.tablet_landscape!}"
63 data-src-url-full-tp="${posterFullImg.tablet_portrait!}"
64 data-src-url-full-m="${posterFullImg.mobile!}"
65 data-src-url-hd="${posterFullImg.desktop!}"
66 />
67 <noscript>
68 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
69 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
70 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
71 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
72 <img src="${posterFullImg.desktop!}" alt='${posterFullImg.alt_desktop!}'>
73 <img src="${posterFullImg.tablet_landscape!}" alt='${posterFullImg.alt_tablet_landscape!}'>
74 <img src="${posterFullImg.tablet_portrait!}" alt='${posterFullImg.alt_tablet_portrait!}'>
75 <img src="${posterFullImg.mobile!}" alt='${posterFullImg.alt_mobile!}'>
76 </noscript>
77 <span class="multimedia--card--graphic--play-icon"></span>
78 </#if>
79 <span class="dataList"
80 data-caption="${(curVideo.VideoTitle.getData())!}"
81 data-desc="${(curVideo.VideoDescription.getData())!}"
82 data-video-data='${video}'
83 ></span>
84 </#list>
85 </div>
86 <div class="multimedia--card--desc">
87 <#assign maxlength = 150 >
88 <#assign nameLength = AlbumTitle.getData()?length >
89 <#assign maxlength = maxlength - nameLength >
90 <#if maxlength gte 0>
91 <span class="title">${(AlbumTitle.getData())!}</span>
92 ${leonardo.stringEllipsis(htmlUtil.extractText(AlbumDescription.getData()!), maxlength)}
93 <#else>
94 <span class="title">${(AlbumTitle.getData())!}</span>
95 </#if>
96 </div>
97 <div class="div" id="video_id"></div>
98 </a>
99 </div>
100</#if>
101<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028543" at line 92, column 59]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${leonardo.stringEllipsis(htmlUtil.ex... [in template "20115#20151#1028543" at line 92, column 33]
----
1<!--Start Module: Multimedia Card (F1) Video Gallery - Multimedia -->
2<#if VideoInfo?has_content>
3 <div class="multimedia--card videos">
4 <@leonardo.articleInfo .vars "(F1) Video Gallery - Multimedia"/>
5 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
6 title="${AlbumTitle.getData()!} ${htmlUtil.stripHtml(AlbumDescription.getData()!)}"
7 data-media-type="VIDEOS"
8 data-title="${AlbumTitle.getData()!}"
9 data-desc="${AlbumDescription.getData()!}">
10
11 <#assign videoType="dml">
12 <#list VideoInfo.getSiblings() as curVideo>
13 <#if (curVideo.YoutubeId.getData() != "") >
14 <#assign videoType="yt">
15 <#break>
16 </#if>
17 </#list>
18 <div class="multimedia--card--graphic-container video-${videoType}">
19 <#list VideoInfo.getSiblings() as curVideo>
20 <#assign isYtVideo = (curVideo.YoutubeId.getData() != "") >
21 <#assign isCantoVideo = (curVideo.CantoUrl.getData())?has_content && (curVideo.CantoUrl.getData() != "") >
22 <#if isCantoVideo>
23 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.CantoUrl.getData()+"\", \"type\": \"canto\"}], \"showControls\": true}">
24 <#elseif isYtVideo>
25 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.YoutubeId.getData()+"\", \"type\": \"yt\"}]}">
26 <#else>
27 <#assign videoData = "">
28 <#list curVideo.Video.getSiblings() as cur_Video>
29 <#assign videoFile = cur_Video.getData()>
30 <#assign videoFileType = cur_Video.VideoType.getData()>
31 <#if videoData?? && videoData != "">
32 <#assign videoData = videoData + ",">
33 <#else>
34 <#assign videoData = videoData + "{\"videoSources\":[">
35 </#if>
36 <#assign videoData = videoData + "{\"src\":\"" + videoFile + "\",\"type\":\"" + videoFileType + "\"}">
37 </#list>
38 <#assign videoData = videoData + "], \"showControls\": true}">
39 </#if>
40 <#assign video = htmlUtil.escape(videoData)>
41 <#assign scalingDetails = {
42 "desktop": {"alternateImage": {}, "key": "w_317"},
43 "tl": {"alternateImage": {}, "key": "w_317"},
44 "tp": {"alternateImage": {}, "key": "w_317"},
45 "mobile": {"alternateImage": {}, "key": "w_317"}
46 }>
47 <#assign posterImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
48 <#assign scalingDetails = {
49 "desktop": {"alternateImage": {}, "key": "w_720"},
50 "tl": {"alternateImage": {}, "key": "h_695"},
51 "tp": {"alternateImage": {}, "key": "w_768"},
52 "mobile": {"alternateImage": {}, "key": "w_375"}
53 }>
54 <#assign posterFullImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
55 <#if curVideo?is_first>
56 <img class="multimedia--card--graphic" alt="${posterImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
57 data-src-url-d="${posterImg.desktop!}"
58 data-src-url-tl="${posterImg.tablet_landscape!}"
59 data-src-url-tp="${posterImg.tablet_portrait!}"
60 data-src-url-m="${posterImg.mobile!}"
61 data-src-url-full-d="${posterFullImg.desktop!}"
62 data-src-url-full-tl="${posterFullImg.tablet_landscape!}"
63 data-src-url-full-tp="${posterFullImg.tablet_portrait!}"
64 data-src-url-full-m="${posterFullImg.mobile!}"
65 data-src-url-hd="${posterFullImg.desktop!}"
66 />
67 <noscript>
68 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
69 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
70 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
71 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
72 <img src="${posterFullImg.desktop!}" alt='${posterFullImg.alt_desktop!}'>
73 <img src="${posterFullImg.tablet_landscape!}" alt='${posterFullImg.alt_tablet_landscape!}'>
74 <img src="${posterFullImg.tablet_portrait!}" alt='${posterFullImg.alt_tablet_portrait!}'>
75 <img src="${posterFullImg.mobile!}" alt='${posterFullImg.alt_mobile!}'>
76 </noscript>
77 <span class="multimedia--card--graphic--play-icon"></span>
78 </#if>
79 <span class="dataList"
80 data-caption="${(curVideo.VideoTitle.getData())!}"
81 data-desc="${(curVideo.VideoDescription.getData())!}"
82 data-video-data='${video}'
83 ></span>
84 </#list>
85 </div>
86 <div class="multimedia--card--desc">
87 <#assign maxlength = 150 >
88 <#assign nameLength = AlbumTitle.getData()?length >
89 <#assign maxlength = maxlength - nameLength >
90 <#if maxlength gte 0>
91 <span class="title">${(AlbumTitle.getData())!}</span>
92 ${leonardo.stringEllipsis(htmlUtil.extractText(AlbumDescription.getData()!), maxlength)}
93 <#else>
94 <span class="title">${(AlbumTitle.getData())!}</span>
95 </#if>
96 </div>
97 <div class="div" id="video_id"></div>
98 </a>
99 </div>
100</#if>
101<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028539" at line 73, column 59]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${leonardo.stringEllipsis(htmlUtil.ex... [in template "20115#20151#1028539" at line 73, column 33]
----
1<!--Start Module: Multimedia Card-->
2<@leonardo.articleInfo .vars "(F1) Photo Gallery - Multimedia"/>
3
4<#if ImageTitle?has_content>
5 <div class="multimedia--card photos">
6 <@leonardo.articleInfo .vars "(F1) Photo Gallery - Multimedia"/>
7 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
8 title="${AlbumTitle.getData()!} ${htmlUtil.stripHtml(AlbumDescription.getData()!)}"
9 data-media-type="PHOTOS"
10 data-title="${AlbumTitle.getData()!}"
11 data-desc="${AlbumDescription.getData()!}">
12 <div class="multimedia--card--graphic-container">
13 <#list ImageTitle.getSiblings() as curImg>
14 <#assign scalingDetails = {
15 "desktop": {"alternateImage": {}, "key": "w_317"},
16 "tl": {"alternateImage": {}, "key": "w_317"},
17 "tp": {"alternateImage": {}, "key": "w_317"},
18 "mobile": {"alternateImage": {}, "key": "w_317"}
19 }>
20 <#assign galleryImg = leonardo.adaptImage(curImg.Image!, scalingDetails )>
21 <#assign scalingDetails = {
22 "desktop": {"alternateImage": {}, "key": "h_530"},
23 "tl": {"alternateImage": {}, "key": "h_695"},
24 "tp": {"alternateImage": {}, "key": "w_768"},
25 "mobile": {"alternateImage": {}, "key": "w_375"}
26 }>
27 <#assign galleryFullImg = leonardo.adaptImage(curImg.Image!, scalingDetails )>
28 <#if curImg?is_first>
29 <img class="multimedia--card--graphic" alt="${galleryImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
30 data-src-url-d="${galleryImg.desktop!}"
31 data-src-url-tl="${galleryImg.tablet_landscape!}"
32 data-src-url-tp="${galleryImg.tablet_portrait!}"
33 data-src-url-m="${galleryImg.mobile!}"
34 />
35 <span class="multimedia--card--graphic-details">
36 <span class="multimedia--card--graphic-details--count"> <strong>${ImageTitle.getSiblings()?size}</strong> <@liferay.language key="photos" /></span>
37 <svg xmlns="http://www.w3.org/2000/svg" width="22" height="20" viewBox="0 0 22 20">
38 <g fill="#FFF" fill-rule="evenodd">
39 <path d="M9.01 4.717c-1.938 0-3.877-.002-5.815 0-1.156.002-1.948.777-1.95 1.908a8490.43 8490.43 0 0 0 0 10.265c.001 1.112.8 1.892 1.938 1.893h11.63c1.158 0 1.944-.772 1.944-1.908.002-3.413.001-6.826 0-10.24 0-1.152-.781-1.917-1.957-1.918H9.01zm8.987 10.987c0 .444.003.849 0 1.253-.014 1.7-1.366 3.035-3.102 3.038-3.93.007-7.86.007-11.79 0-1.72-.003-3.094-1.338-3.098-3.018-.01-3.465-.01-6.93 0-10.395C.01 4.828 1.36 3.508 3.149 3.505c3.922-.007 7.843-.006 11.764 0 1.707.003 3.065 1.334 3.085 3.003.004.419 0 .838 0 1.288v7.908z"/>
40 <path d="M6.695 1.218c-1.142.001-1.93.757-1.949 1.866.058.052 13.479 12.049 13.651 12.2 1.112-.037 1.86-.8 1.86-1.909.002-3.413.001-6.826 0-10.24 0-1.152-.781-1.917-1.957-1.918h-5.79c-1.938 0-3.877-.002-5.815 0zm14.802 10.986c0 .444.003.849 0 1.253-.014 1.7-1.366 3.035-3.102 3.038v-1.213L4.744 3.082H3.507C3.51 1.328 4.86.008 6.649.005c3.922-.007 7.843-.006 11.764 0 1.707.003 3.065 1.334 3.085 3.003.004.419 0 .838 0 1.288v7.908z"/>
41 </g>
42 </svg>
43 </span>
44 </#if>
45 <span class="dataList"
46 data-caption="${curImg.getData()!}"
47 data-desc="${curImg.Image.getAttribute('alt')!}"
48 data-title="${curImg.Image.getAttribute('title')!}"
49 data-src-url-d="${galleryImg.desktop!}"
50 data-src-url-tl="${galleryImg.tablet_landscape!}"
51 data-src-url-tp="${galleryImg.tablet_portrait!}"
52 data-src-url-m="${galleryImg.mobile!}"
53 data-src-url-full-d="${galleryFullImg.desktop!}"
54 data-src-url-full-tl="${galleryFullImg.tablet_landscape!}"
55 data-src-url-full-tp="${galleryFullImg.tablet_portrait!}"
56 data-src-url-full-m="${galleryFullImg.mobile!}"
57 data-src-url-hd="${galleryFullImg.desktop!}">
58 </span>
59 <noscript>
60 <img src="${galleryFullImg.desktop!}" alt='${galleryFullImg.alt_desktop!}'>
61 <img src="${galleryFullImg.tablet_landscape!}" alt='${galleryFullImg.alt_tablet_landscape!}'>
62 <img src="${galleryFullImg.tablet_portrait!}" alt='${galleryFullImg.alt_tablet_portrait!}'>
63 <img src="${galleryFullImg.mobile!}" alt='${galleryFullImg.alt_mobile!}'>
64 </noscript>
65 </#list>
66 </div>
67 <div class="multimedia--card--desc">
68 <#assign maxlength = 150 >
69 <#assign nameLength = AlbumTitle.getData()?length >
70 <#assign maxlength = maxlength - nameLength >
71 <#if maxlength gte 0>
72 <span class="title">${(AlbumTitle.getData())!}</span>
73 ${leonardo.stringEllipsis(htmlUtil.extractText(AlbumDescription.getData()!), maxlength)}
74 <#else>
75 <span class="title">${(AlbumTitle.getData())!}</span>
76 </#if>
77 </div>
78 <div class="div" id="video_id"></div>
79 </a>
80 </div>
81</#if>
82<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028543" at line 92, column 59]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${leonardo.stringEllipsis(htmlUtil.ex... [in template "20115#20151#1028543" at line 92, column 33]
----
1<!--Start Module: Multimedia Card (F1) Video Gallery - Multimedia -->
2<#if VideoInfo?has_content>
3 <div class="multimedia--card videos">
4 <@leonardo.articleInfo .vars "(F1) Video Gallery - Multimedia"/>
5 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
6 title="${AlbumTitle.getData()!} ${htmlUtil.stripHtml(AlbumDescription.getData()!)}"
7 data-media-type="VIDEOS"
8 data-title="${AlbumTitle.getData()!}"
9 data-desc="${AlbumDescription.getData()!}">
10
11 <#assign videoType="dml">
12 <#list VideoInfo.getSiblings() as curVideo>
13 <#if (curVideo.YoutubeId.getData() != "") >
14 <#assign videoType="yt">
15 <#break>
16 </#if>
17 </#list>
18 <div class="multimedia--card--graphic-container video-${videoType}">
19 <#list VideoInfo.getSiblings() as curVideo>
20 <#assign isYtVideo = (curVideo.YoutubeId.getData() != "") >
21 <#assign isCantoVideo = (curVideo.CantoUrl.getData())?has_content && (curVideo.CantoUrl.getData() != "") >
22 <#if isCantoVideo>
23 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.CantoUrl.getData()+"\", \"type\": \"canto\"}], \"showControls\": true}">
24 <#elseif isYtVideo>
25 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.YoutubeId.getData()+"\", \"type\": \"yt\"}]}">
26 <#else>
27 <#assign videoData = "">
28 <#list curVideo.Video.getSiblings() as cur_Video>
29 <#assign videoFile = cur_Video.getData()>
30 <#assign videoFileType = cur_Video.VideoType.getData()>
31 <#if videoData?? && videoData != "">
32 <#assign videoData = videoData + ",">
33 <#else>
34 <#assign videoData = videoData + "{\"videoSources\":[">
35 </#if>
36 <#assign videoData = videoData + "{\"src\":\"" + videoFile + "\",\"type\":\"" + videoFileType + "\"}">
37 </#list>
38 <#assign videoData = videoData + "], \"showControls\": true}">
39 </#if>
40 <#assign video = htmlUtil.escape(videoData)>
41 <#assign scalingDetails = {
42 "desktop": {"alternateImage": {}, "key": "w_317"},
43 "tl": {"alternateImage": {}, "key": "w_317"},
44 "tp": {"alternateImage": {}, "key": "w_317"},
45 "mobile": {"alternateImage": {}, "key": "w_317"}
46 }>
47 <#assign posterImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
48 <#assign scalingDetails = {
49 "desktop": {"alternateImage": {}, "key": "w_720"},
50 "tl": {"alternateImage": {}, "key": "h_695"},
51 "tp": {"alternateImage": {}, "key": "w_768"},
52 "mobile": {"alternateImage": {}, "key": "w_375"}
53 }>
54 <#assign posterFullImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
55 <#if curVideo?is_first>
56 <img class="multimedia--card--graphic" alt="${posterImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
57 data-src-url-d="${posterImg.desktop!}"
58 data-src-url-tl="${posterImg.tablet_landscape!}"
59 data-src-url-tp="${posterImg.tablet_portrait!}"
60 data-src-url-m="${posterImg.mobile!}"
61 data-src-url-full-d="${posterFullImg.desktop!}"
62 data-src-url-full-tl="${posterFullImg.tablet_landscape!}"
63 data-src-url-full-tp="${posterFullImg.tablet_portrait!}"
64 data-src-url-full-m="${posterFullImg.mobile!}"
65 data-src-url-hd="${posterFullImg.desktop!}"
66 />
67 <noscript>
68 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
69 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
70 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
71 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
72 <img src="${posterFullImg.desktop!}" alt='${posterFullImg.alt_desktop!}'>
73 <img src="${posterFullImg.tablet_landscape!}" alt='${posterFullImg.alt_tablet_landscape!}'>
74 <img src="${posterFullImg.tablet_portrait!}" alt='${posterFullImg.alt_tablet_portrait!}'>
75 <img src="${posterFullImg.mobile!}" alt='${posterFullImg.alt_mobile!}'>
76 </noscript>
77 <span class="multimedia--card--graphic--play-icon"></span>
78 </#if>
79 <span class="dataList"
80 data-caption="${(curVideo.VideoTitle.getData())!}"
81 data-desc="${(curVideo.VideoDescription.getData())!}"
82 data-video-data='${video}'
83 ></span>
84 </#list>
85 </div>
86 <div class="multimedia--card--desc">
87 <#assign maxlength = 150 >
88 <#assign nameLength = AlbumTitle.getData()?length >
89 <#assign maxlength = maxlength - nameLength >
90 <#if maxlength gte 0>
91 <span class="title">${(AlbumTitle.getData())!}</span>
92 ${leonardo.stringEllipsis(htmlUtil.extractText(AlbumDescription.getData()!), maxlength)}
93 <#else>
94 <span class="title">${(AlbumTitle.getData())!}</span>
95 </#if>
96 </div>
97 <div class="div" id="video_id"></div>
98 </a>
99 </div>
100</#if>
101<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028547" at line 37, column 63]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${htmlUtil.extractText(TextInfo.Title... [in template "20115#20151#1028547" at line 37, column 61]
----
1<!--Start Module: Multimedia Card-->
2<#if VideoInfo.Video.getData() != "" || VideoInfo.YoutubeId.getData() != "" || (VideoInfo.CantoUrl.getData())?has_content>
3
4 <#assign scalingDetails = {
5 "desktop": {"alternateImage": {}, "key": "w_720"},
6 "tl": {"alternateImage": VideoInfo.Image.ImageTl!, "key": "h_695"},
7 "tp": {"alternateImage": VideoInfo.Image.ImageTp!, "key": "w_768"},
8 "mobile": {"alternateImage": VideoInfo.Image.ImageM!, "key": "w_375"}
9 }>
10 <#assign posterImg = leonardo.adaptImage(VideoInfo.Image!, scalingDetails )>
11
12 <#assign isYt = (VideoInfo.YoutubeId.getData() != "") >
13 <#assign isCanto = (VideoInfo.CantoUrl.getData())?has_content && (VideoInfo.CantoUrl.getData() != "") >
14 <#if isCanto>
15 <#assign videoData = "{\"videoSources\":[{\"src\":\""+VideoInfo.CantoUrl.getData()+"\", \"type\": \"canto\"}]}">
16 <#elseif isYt>
17 <#assign videoData = "{\"videoSources\":[{\"src\":\""+VideoInfo.YoutubeId.getData()+"\", \"type\": \"yt\"}]}">
18 <#else>
19 <#assign videoData = "">
20 <#list VideoInfo.Video.getSiblings() as cur_Video>
21 <#assign videoFile = cur_Video.getData()>
22 <#assign videoFileType = cur_Video.VideoType.getData()>
23 <#if videoData?? && videoData != "">
24 <#assign videoData = videoData + ",">
25 <#else>
26 <#assign videoData = videoData + "{\"videoSources\":[">
27 </#if>
28 <#assign videoData = videoData + "{\"src\":\"" + videoFile + "\",\"type\":\"" + videoFileType + "\"}">
29 </#list>
30 <#assign videoData = videoData + "], \"showControls\": true}">
31 </#if>
32 <#assign video = htmlUtil.escape(videoData)>
33
34 <div class="multimedia--card videos">
35 <@leonardo.articleInfo .vars "(I3) Video Launch - Multimedia"/>
36 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
37 title="${TextInfo.Title.getData()!} ${htmlUtil.extractText(TextInfo.Title.Description.getData()!)}"
38 data-media-type="VIDEOS"
39 data-title="${TextInfo.Title.getData()!}"
40 data-desc="${TextInfo.Title.getData()!}">
41 <div class="multimedia--card--graphic-container ${isYt?then('video-yt','video-dml')}">
42 <img class="multimedia--card--graphic" alt="${posterImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
43 data-src-url-d="${posterImg.desktop!}"
44 data-src-url-tl="${posterImg.tablet_landscape!}"
45 data-src-url-tp="${posterImg.tablet_portrait!}"
46 data-src-url-m="${posterImg.mobile!}"
47 />
48 <span class="multimedia--card--graphic--play-icon"></span>
49 <span class="dataList"
50 data-caption="${(TextInfo.Title.getData())!}"
51 data-desc="${(TextInfo.Title.Description.getData())!}"
52 data-video-data='${video}'
53 ></span>
54 </div>
55 <noscript>
56 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
57 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
58 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
59 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
60 </noscript>
61 <div class="multimedia--card--desc">
62 <#assign maxlength = 150 >
63 <#assign nameLength = TextInfo.Title.getData()?length >
64 <#assign maxlength = maxlength - nameLength >
65 <#if maxlength gte 0>
66 <span class="title">${(TextInfo.Title.getData())!}</span>
67 ${leonardo.stringEllipsis(htmlUtil.extractText(TextInfo.Title.Description.getData()!), maxlength)}
68 <#else>
69 <span class="title">${(TextInfo.Title.getData())!}</span>
70 </#if>
71 </div>
72 <div class="div" id="video_id"></div>
73 </a>
74 </div>
75</#if>
76<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028543" at line 92, column 59]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${leonardo.stringEllipsis(htmlUtil.ex... [in template "20115#20151#1028543" at line 92, column 33]
----
1<!--Start Module: Multimedia Card (F1) Video Gallery - Multimedia -->
2<#if VideoInfo?has_content>
3 <div class="multimedia--card videos">
4 <@leonardo.articleInfo .vars "(F1) Video Gallery - Multimedia"/>
5 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
6 title="${AlbumTitle.getData()!} ${htmlUtil.stripHtml(AlbumDescription.getData()!)}"
7 data-media-type="VIDEOS"
8 data-title="${AlbumTitle.getData()!}"
9 data-desc="${AlbumDescription.getData()!}">
10
11 <#assign videoType="dml">
12 <#list VideoInfo.getSiblings() as curVideo>
13 <#if (curVideo.YoutubeId.getData() != "") >
14 <#assign videoType="yt">
15 <#break>
16 </#if>
17 </#list>
18 <div class="multimedia--card--graphic-container video-${videoType}">
19 <#list VideoInfo.getSiblings() as curVideo>
20 <#assign isYtVideo = (curVideo.YoutubeId.getData() != "") >
21 <#assign isCantoVideo = (curVideo.CantoUrl.getData())?has_content && (curVideo.CantoUrl.getData() != "") >
22 <#if isCantoVideo>
23 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.CantoUrl.getData()+"\", \"type\": \"canto\"}], \"showControls\": true}">
24 <#elseif isYtVideo>
25 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.YoutubeId.getData()+"\", \"type\": \"yt\"}]}">
26 <#else>
27 <#assign videoData = "">
28 <#list curVideo.Video.getSiblings() as cur_Video>
29 <#assign videoFile = cur_Video.getData()>
30 <#assign videoFileType = cur_Video.VideoType.getData()>
31 <#if videoData?? && videoData != "">
32 <#assign videoData = videoData + ",">
33 <#else>
34 <#assign videoData = videoData + "{\"videoSources\":[">
35 </#if>
36 <#assign videoData = videoData + "{\"src\":\"" + videoFile + "\",\"type\":\"" + videoFileType + "\"}">
37 </#list>
38 <#assign videoData = videoData + "], \"showControls\": true}">
39 </#if>
40 <#assign video = htmlUtil.escape(videoData)>
41 <#assign scalingDetails = {
42 "desktop": {"alternateImage": {}, "key": "w_317"},
43 "tl": {"alternateImage": {}, "key": "w_317"},
44 "tp": {"alternateImage": {}, "key": "w_317"},
45 "mobile": {"alternateImage": {}, "key": "w_317"}
46 }>
47 <#assign posterImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
48 <#assign scalingDetails = {
49 "desktop": {"alternateImage": {}, "key": "w_720"},
50 "tl": {"alternateImage": {}, "key": "h_695"},
51 "tp": {"alternateImage": {}, "key": "w_768"},
52 "mobile": {"alternateImage": {}, "key": "w_375"}
53 }>
54 <#assign posterFullImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
55 <#if curVideo?is_first>
56 <img class="multimedia--card--graphic" alt="${posterImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
57 data-src-url-d="${posterImg.desktop!}"
58 data-src-url-tl="${posterImg.tablet_landscape!}"
59 data-src-url-tp="${posterImg.tablet_portrait!}"
60 data-src-url-m="${posterImg.mobile!}"
61 data-src-url-full-d="${posterFullImg.desktop!}"
62 data-src-url-full-tl="${posterFullImg.tablet_landscape!}"
63 data-src-url-full-tp="${posterFullImg.tablet_portrait!}"
64 data-src-url-full-m="${posterFullImg.mobile!}"
65 data-src-url-hd="${posterFullImg.desktop!}"
66 />
67 <noscript>
68 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
69 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
70 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
71 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
72 <img src="${posterFullImg.desktop!}" alt='${posterFullImg.alt_desktop!}'>
73 <img src="${posterFullImg.tablet_landscape!}" alt='${posterFullImg.alt_tablet_landscape!}'>
74 <img src="${posterFullImg.tablet_portrait!}" alt='${posterFullImg.alt_tablet_portrait!}'>
75 <img src="${posterFullImg.mobile!}" alt='${posterFullImg.alt_mobile!}'>
76 </noscript>
77 <span class="multimedia--card--graphic--play-icon"></span>
78 </#if>
79 <span class="dataList"
80 data-caption="${(curVideo.VideoTitle.getData())!}"
81 data-desc="${(curVideo.VideoDescription.getData())!}"
82 data-video-data='${video}'
83 ></span>
84 </#list>
85 </div>
86 <div class="multimedia--card--desc">
87 <#assign maxlength = 150 >
88 <#assign nameLength = AlbumTitle.getData()?length >
89 <#assign maxlength = maxlength - nameLength >
90 <#if maxlength gte 0>
91 <span class="title">${(AlbumTitle.getData())!}</span>
92 ${leonardo.stringEllipsis(htmlUtil.extractText(AlbumDescription.getData()!), maxlength)}
93 <#else>
94 <span class="title">${(AlbumTitle.getData())!}</span>
95 </#if>
96 </div>
97 <div class="div" id="video_id"></div>
98 </a>
99 </div>
100</#if>
101<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028539" at line 73, column 59]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${leonardo.stringEllipsis(htmlUtil.ex... [in template "20115#20151#1028539" at line 73, column 33]
----
1<!--Start Module: Multimedia Card-->
2<@leonardo.articleInfo .vars "(F1) Photo Gallery - Multimedia"/>
3
4<#if ImageTitle?has_content>
5 <div class="multimedia--card photos">
6 <@leonardo.articleInfo .vars "(F1) Photo Gallery - Multimedia"/>
7 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
8 title="${AlbumTitle.getData()!} ${htmlUtil.stripHtml(AlbumDescription.getData()!)}"
9 data-media-type="PHOTOS"
10 data-title="${AlbumTitle.getData()!}"
11 data-desc="${AlbumDescription.getData()!}">
12 <div class="multimedia--card--graphic-container">
13 <#list ImageTitle.getSiblings() as curImg>
14 <#assign scalingDetails = {
15 "desktop": {"alternateImage": {}, "key": "w_317"},
16 "tl": {"alternateImage": {}, "key": "w_317"},
17 "tp": {"alternateImage": {}, "key": "w_317"},
18 "mobile": {"alternateImage": {}, "key": "w_317"}
19 }>
20 <#assign galleryImg = leonardo.adaptImage(curImg.Image!, scalingDetails )>
21 <#assign scalingDetails = {
22 "desktop": {"alternateImage": {}, "key": "h_530"},
23 "tl": {"alternateImage": {}, "key": "h_695"},
24 "tp": {"alternateImage": {}, "key": "w_768"},
25 "mobile": {"alternateImage": {}, "key": "w_375"}
26 }>
27 <#assign galleryFullImg = leonardo.adaptImage(curImg.Image!, scalingDetails )>
28 <#if curImg?is_first>
29 <img class="multimedia--card--graphic" alt="${galleryImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
30 data-src-url-d="${galleryImg.desktop!}"
31 data-src-url-tl="${galleryImg.tablet_landscape!}"
32 data-src-url-tp="${galleryImg.tablet_portrait!}"
33 data-src-url-m="${galleryImg.mobile!}"
34 />
35 <span class="multimedia--card--graphic-details">
36 <span class="multimedia--card--graphic-details--count"> <strong>${ImageTitle.getSiblings()?size}</strong> <@liferay.language key="photos" /></span>
37 <svg xmlns="http://www.w3.org/2000/svg" width="22" height="20" viewBox="0 0 22 20">
38 <g fill="#FFF" fill-rule="evenodd">
39 <path d="M9.01 4.717c-1.938 0-3.877-.002-5.815 0-1.156.002-1.948.777-1.95 1.908a8490.43 8490.43 0 0 0 0 10.265c.001 1.112.8 1.892 1.938 1.893h11.63c1.158 0 1.944-.772 1.944-1.908.002-3.413.001-6.826 0-10.24 0-1.152-.781-1.917-1.957-1.918H9.01zm8.987 10.987c0 .444.003.849 0 1.253-.014 1.7-1.366 3.035-3.102 3.038-3.93.007-7.86.007-11.79 0-1.72-.003-3.094-1.338-3.098-3.018-.01-3.465-.01-6.93 0-10.395C.01 4.828 1.36 3.508 3.149 3.505c3.922-.007 7.843-.006 11.764 0 1.707.003 3.065 1.334 3.085 3.003.004.419 0 .838 0 1.288v7.908z"/>
40 <path d="M6.695 1.218c-1.142.001-1.93.757-1.949 1.866.058.052 13.479 12.049 13.651 12.2 1.112-.037 1.86-.8 1.86-1.909.002-3.413.001-6.826 0-10.24 0-1.152-.781-1.917-1.957-1.918h-5.79c-1.938 0-3.877-.002-5.815 0zm14.802 10.986c0 .444.003.849 0 1.253-.014 1.7-1.366 3.035-3.102 3.038v-1.213L4.744 3.082H3.507C3.51 1.328 4.86.008 6.649.005c3.922-.007 7.843-.006 11.764 0 1.707.003 3.065 1.334 3.085 3.003.004.419 0 .838 0 1.288v7.908z"/>
41 </g>
42 </svg>
43 </span>
44 </#if>
45 <span class="dataList"
46 data-caption="${curImg.getData()!}"
47 data-desc="${curImg.Image.getAttribute('alt')!}"
48 data-title="${curImg.Image.getAttribute('title')!}"
49 data-src-url-d="${galleryImg.desktop!}"
50 data-src-url-tl="${galleryImg.tablet_landscape!}"
51 data-src-url-tp="${galleryImg.tablet_portrait!}"
52 data-src-url-m="${galleryImg.mobile!}"
53 data-src-url-full-d="${galleryFullImg.desktop!}"
54 data-src-url-full-tl="${galleryFullImg.tablet_landscape!}"
55 data-src-url-full-tp="${galleryFullImg.tablet_portrait!}"
56 data-src-url-full-m="${galleryFullImg.mobile!}"
57 data-src-url-hd="${galleryFullImg.desktop!}">
58 </span>
59 <noscript>
60 <img src="${galleryFullImg.desktop!}" alt='${galleryFullImg.alt_desktop!}'>
61 <img src="${galleryFullImg.tablet_landscape!}" alt='${galleryFullImg.alt_tablet_landscape!}'>
62 <img src="${galleryFullImg.tablet_portrait!}" alt='${galleryFullImg.alt_tablet_portrait!}'>
63 <img src="${galleryFullImg.mobile!}" alt='${galleryFullImg.alt_mobile!}'>
64 </noscript>
65 </#list>
66 </div>
67 <div class="multimedia--card--desc">
68 <#assign maxlength = 150 >
69 <#assign nameLength = AlbumTitle.getData()?length >
70 <#assign maxlength = maxlength - nameLength >
71 <#if maxlength gte 0>
72 <span class="title">${(AlbumTitle.getData())!}</span>
73 ${leonardo.stringEllipsis(htmlUtil.extractText(AlbumDescription.getData()!), maxlength)}
74 <#else>
75 <span class="title">${(AlbumTitle.getData())!}</span>
76 </#if>
77 </div>
78 <div class="div" id="video_id"></div>
79 </a>
80 </div>
81</#if>
82<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028543" at line 92, column 59]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${leonardo.stringEllipsis(htmlUtil.ex... [in template "20115#20151#1028543" at line 92, column 33]
----
1<!--Start Module: Multimedia Card (F1) Video Gallery - Multimedia -->
2<#if VideoInfo?has_content>
3 <div class="multimedia--card videos">
4 <@leonardo.articleInfo .vars "(F1) Video Gallery - Multimedia"/>
5 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
6 title="${AlbumTitle.getData()!} ${htmlUtil.stripHtml(AlbumDescription.getData()!)}"
7 data-media-type="VIDEOS"
8 data-title="${AlbumTitle.getData()!}"
9 data-desc="${AlbumDescription.getData()!}">
10
11 <#assign videoType="dml">
12 <#list VideoInfo.getSiblings() as curVideo>
13 <#if (curVideo.YoutubeId.getData() != "") >
14 <#assign videoType="yt">
15 <#break>
16 </#if>
17 </#list>
18 <div class="multimedia--card--graphic-container video-${videoType}">
19 <#list VideoInfo.getSiblings() as curVideo>
20 <#assign isYtVideo = (curVideo.YoutubeId.getData() != "") >
21 <#assign isCantoVideo = (curVideo.CantoUrl.getData())?has_content && (curVideo.CantoUrl.getData() != "") >
22 <#if isCantoVideo>
23 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.CantoUrl.getData()+"\", \"type\": \"canto\"}], \"showControls\": true}">
24 <#elseif isYtVideo>
25 <#assign videoData = "{\"videoSources\":[{\"src\":\""+curVideo.YoutubeId.getData()+"\", \"type\": \"yt\"}]}">
26 <#else>
27 <#assign videoData = "">
28 <#list curVideo.Video.getSiblings() as cur_Video>
29 <#assign videoFile = cur_Video.getData()>
30 <#assign videoFileType = cur_Video.VideoType.getData()>
31 <#if videoData?? && videoData != "">
32 <#assign videoData = videoData + ",">
33 <#else>
34 <#assign videoData = videoData + "{\"videoSources\":[">
35 </#if>
36 <#assign videoData = videoData + "{\"src\":\"" + videoFile + "\",\"type\":\"" + videoFileType + "\"}">
37 </#list>
38 <#assign videoData = videoData + "], \"showControls\": true}">
39 </#if>
40 <#assign video = htmlUtil.escape(videoData)>
41 <#assign scalingDetails = {
42 "desktop": {"alternateImage": {}, "key": "w_317"},
43 "tl": {"alternateImage": {}, "key": "w_317"},
44 "tp": {"alternateImage": {}, "key": "w_317"},
45 "mobile": {"alternateImage": {}, "key": "w_317"}
46 }>
47 <#assign posterImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
48 <#assign scalingDetails = {
49 "desktop": {"alternateImage": {}, "key": "w_720"},
50 "tl": {"alternateImage": {}, "key": "h_695"},
51 "tp": {"alternateImage": {}, "key": "w_768"},
52 "mobile": {"alternateImage": {}, "key": "w_375"}
53 }>
54 <#assign posterFullImg = leonardo.adaptImage(curVideo.PosterImage!, scalingDetails )>
55 <#if curVideo?is_first>
56 <img class="multimedia--card--graphic" alt="${posterImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
57 data-src-url-d="${posterImg.desktop!}"
58 data-src-url-tl="${posterImg.tablet_landscape!}"
59 data-src-url-tp="${posterImg.tablet_portrait!}"
60 data-src-url-m="${posterImg.mobile!}"
61 data-src-url-full-d="${posterFullImg.desktop!}"
62 data-src-url-full-tl="${posterFullImg.tablet_landscape!}"
63 data-src-url-full-tp="${posterFullImg.tablet_portrait!}"
64 data-src-url-full-m="${posterFullImg.mobile!}"
65 data-src-url-hd="${posterFullImg.desktop!}"
66 />
67 <noscript>
68 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
69 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
70 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
71 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
72 <img src="${posterFullImg.desktop!}" alt='${posterFullImg.alt_desktop!}'>
73 <img src="${posterFullImg.tablet_landscape!}" alt='${posterFullImg.alt_tablet_landscape!}'>
74 <img src="${posterFullImg.tablet_portrait!}" alt='${posterFullImg.alt_tablet_portrait!}'>
75 <img src="${posterFullImg.mobile!}" alt='${posterFullImg.alt_mobile!}'>
76 </noscript>
77 <span class="multimedia--card--graphic--play-icon"></span>
78 </#if>
79 <span class="dataList"
80 data-caption="${(curVideo.VideoTitle.getData())!}"
81 data-desc="${(curVideo.VideoDescription.getData())!}"
82 data-video-data='${video}'
83 ></span>
84 </#list>
85 </div>
86 <div class="multimedia--card--desc">
87 <#assign maxlength = 150 >
88 <#assign nameLength = AlbumTitle.getData()?length >
89 <#assign maxlength = maxlength - nameLength >
90 <#if maxlength gte 0>
91 <span class="title">${(AlbumTitle.getData())!}</span>
92 ${leonardo.stringEllipsis(htmlUtil.extractText(AlbumDescription.getData()!), maxlength)}
93 <#else>
94 <span class="title">${(AlbumTitle.getData())!}</span>
95 </#if>
96 </div>
97 <div class="div" id="video_id"></div>
98 </a>
99 </div>
100</#if>
101<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028547" at line 37, column 63]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${htmlUtil.extractText(TextInfo.Title... [in template "20115#20151#1028547" at line 37, column 61]
----
1<!--Start Module: Multimedia Card-->
2<#if VideoInfo.Video.getData() != "" || VideoInfo.YoutubeId.getData() != "" || (VideoInfo.CantoUrl.getData())?has_content>
3
4 <#assign scalingDetails = {
5 "desktop": {"alternateImage": {}, "key": "w_720"},
6 "tl": {"alternateImage": VideoInfo.Image.ImageTl!, "key": "h_695"},
7 "tp": {"alternateImage": VideoInfo.Image.ImageTp!, "key": "w_768"},
8 "mobile": {"alternateImage": VideoInfo.Image.ImageM!, "key": "w_375"}
9 }>
10 <#assign posterImg = leonardo.adaptImage(VideoInfo.Image!, scalingDetails )>
11
12 <#assign isYt = (VideoInfo.YoutubeId.getData() != "") >
13 <#assign isCanto = (VideoInfo.CantoUrl.getData())?has_content && (VideoInfo.CantoUrl.getData() != "") >
14 <#if isCanto>
15 <#assign videoData = "{\"videoSources\":[{\"src\":\""+VideoInfo.CantoUrl.getData()+"\", \"type\": \"canto\"}]}">
16 <#elseif isYt>
17 <#assign videoData = "{\"videoSources\":[{\"src\":\""+VideoInfo.YoutubeId.getData()+"\", \"type\": \"yt\"}]}">
18 <#else>
19 <#assign videoData = "">
20 <#list VideoInfo.Video.getSiblings() as cur_Video>
21 <#assign videoFile = cur_Video.getData()>
22 <#assign videoFileType = cur_Video.VideoType.getData()>
23 <#if videoData?? && videoData != "">
24 <#assign videoData = videoData + ",">
25 <#else>
26 <#assign videoData = videoData + "{\"videoSources\":[">
27 </#if>
28 <#assign videoData = videoData + "{\"src\":\"" + videoFile + "\",\"type\":\"" + videoFileType + "\"}">
29 </#list>
30 <#assign videoData = videoData + "], \"showControls\": true}">
31 </#if>
32 <#assign video = htmlUtil.escape(videoData)>
33
34 <div class="multimedia--card videos">
35 <@leonardo.articleInfo .vars "(I3) Video Launch - Multimedia"/>
36 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
37 title="${TextInfo.Title.getData()!} ${htmlUtil.extractText(TextInfo.Title.Description.getData()!)}"
38 data-media-type="VIDEOS"
39 data-title="${TextInfo.Title.getData()!}"
40 data-desc="${TextInfo.Title.getData()!}">
41 <div class="multimedia--card--graphic-container ${isYt?then('video-yt','video-dml')}">
42 <img class="multimedia--card--graphic" alt="${posterImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
43 data-src-url-d="${posterImg.desktop!}"
44 data-src-url-tl="${posterImg.tablet_landscape!}"
45 data-src-url-tp="${posterImg.tablet_portrait!}"
46 data-src-url-m="${posterImg.mobile!}"
47 />
48 <span class="multimedia--card--graphic--play-icon"></span>
49 <span class="dataList"
50 data-caption="${(TextInfo.Title.getData())!}"
51 data-desc="${(TextInfo.Title.Description.getData())!}"
52 data-video-data='${video}'
53 ></span>
54 </div>
55 <noscript>
56 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
57 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
58 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
59 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
60 </noscript>
61 <div class="multimedia--card--desc">
62 <#assign maxlength = 150 >
63 <#assign nameLength = TextInfo.Title.getData()?length >
64 <#assign maxlength = maxlength - nameLength >
65 <#if maxlength gte 0>
66 <span class="title">${(TextInfo.Title.getData())!}</span>
67 ${leonardo.stringEllipsis(htmlUtil.extractText(TextInfo.Title.Description.getData()!), maxlength)}
68 <#else>
69 <span class="title">${(TextInfo.Title.getData())!}</span>
70 </#if>
71 </div>
72 <div class="div" id="video_id"></div>
73 </a>
74 </div>
75</#if>
76<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028547" at line 37, column 63]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${htmlUtil.extractText(TextInfo.Title... [in template "20115#20151#1028547" at line 37, column 61]
----
1<!--Start Module: Multimedia Card-->
2<#if VideoInfo.Video.getData() != "" || VideoInfo.YoutubeId.getData() != "" || (VideoInfo.CantoUrl.getData())?has_content>
3
4 <#assign scalingDetails = {
5 "desktop": {"alternateImage": {}, "key": "w_720"},
6 "tl": {"alternateImage": VideoInfo.Image.ImageTl!, "key": "h_695"},
7 "tp": {"alternateImage": VideoInfo.Image.ImageTp!, "key": "w_768"},
8 "mobile": {"alternateImage": VideoInfo.Image.ImageM!, "key": "w_375"}
9 }>
10 <#assign posterImg = leonardo.adaptImage(VideoInfo.Image!, scalingDetails )>
11
12 <#assign isYt = (VideoInfo.YoutubeId.getData() != "") >
13 <#assign isCanto = (VideoInfo.CantoUrl.getData())?has_content && (VideoInfo.CantoUrl.getData() != "") >
14 <#if isCanto>
15 <#assign videoData = "{\"videoSources\":[{\"src\":\""+VideoInfo.CantoUrl.getData()+"\", \"type\": \"canto\"}]}">
16 <#elseif isYt>
17 <#assign videoData = "{\"videoSources\":[{\"src\":\""+VideoInfo.YoutubeId.getData()+"\", \"type\": \"yt\"}]}">
18 <#else>
19 <#assign videoData = "">
20 <#list VideoInfo.Video.getSiblings() as cur_Video>
21 <#assign videoFile = cur_Video.getData()>
22 <#assign videoFileType = cur_Video.VideoType.getData()>
23 <#if videoData?? && videoData != "">
24 <#assign videoData = videoData + ",">
25 <#else>
26 <#assign videoData = videoData + "{\"videoSources\":[">
27 </#if>
28 <#assign videoData = videoData + "{\"src\":\"" + videoFile + "\",\"type\":\"" + videoFileType + "\"}">
29 </#list>
30 <#assign videoData = videoData + "], \"showControls\": true}">
31 </#if>
32 <#assign video = htmlUtil.escape(videoData)>
33
34 <div class="multimedia--card videos">
35 <@leonardo.articleInfo .vars "(I3) Video Launch - Multimedia"/>
36 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
37 title="${TextInfo.Title.getData()!} ${htmlUtil.extractText(TextInfo.Title.Description.getData()!)}"
38 data-media-type="VIDEOS"
39 data-title="${TextInfo.Title.getData()!}"
40 data-desc="${TextInfo.Title.getData()!}">
41 <div class="multimedia--card--graphic-container ${isYt?then('video-yt','video-dml')}">
42 <img class="multimedia--card--graphic" alt="${posterImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
43 data-src-url-d="${posterImg.desktop!}"
44 data-src-url-tl="${posterImg.tablet_landscape!}"
45 data-src-url-tp="${posterImg.tablet_portrait!}"
46 data-src-url-m="${posterImg.mobile!}"
47 />
48 <span class="multimedia--card--graphic--play-icon"></span>
49 <span class="dataList"
50 data-caption="${(TextInfo.Title.getData())!}"
51 data-desc="${(TextInfo.Title.Description.getData())!}"
52 data-video-data='${video}'
53 ></span>
54 </div>
55 <noscript>
56 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
57 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
58 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
59 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
60 </noscript>
61 <div class="multimedia--card--desc">
62 <#assign maxlength = 150 >
63 <#assign nameLength = TextInfo.Title.getData()?length >
64 <#assign maxlength = maxlength - nameLength >
65 <#if maxlength gte 0>
66 <span class="title">${(TextInfo.Title.getData())!}</span>
67 ${leonardo.stringEllipsis(htmlUtil.extractText(TextInfo.Title.Description.getData()!), maxlength)}
68 <#else>
69 <span class="title">${(TextInfo.Title.getData())!}</span>
70 </#if>
71 </div>
72 <div class="div" id="video_id"></div>
73 </a>
74 </div>
75</#if>
76<!--End Module: Multimedia Card-->
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText [in template "20115#20151#1028539" at line 73, column 59]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${leonardo.stringEllipsis(htmlUtil.ex... [in template "20115#20151#1028539" at line 73, column 33]
----
1<!--Start Module: Multimedia Card-->
2<@leonardo.articleInfo .vars "(F1) Photo Gallery - Multimedia"/>
3
4<#if ImageTitle?has_content>
5 <div class="multimedia--card photos">
6 <@leonardo.articleInfo .vars "(F1) Photo Gallery - Multimedia"/>
7 <a class="multimedia--card--wrap multimedia-layer-trigger" role="button"
8 title="${AlbumTitle.getData()!} ${htmlUtil.stripHtml(AlbumDescription.getData()!)}"
9 data-media-type="PHOTOS"
10 data-title="${AlbumTitle.getData()!}"
11 data-desc="${AlbumDescription.getData()!}">
12 <div class="multimedia--card--graphic-container">
13 <#list ImageTitle.getSiblings() as curImg>
14 <#assign scalingDetails = {
15 "desktop": {"alternateImage": {}, "key": "w_317"},
16 "tl": {"alternateImage": {}, "key": "w_317"},
17 "tp": {"alternateImage": {}, "key": "w_317"},
18 "mobile": {"alternateImage": {}, "key": "w_317"}
19 }>
20 <#assign galleryImg = leonardo.adaptImage(curImg.Image!, scalingDetails )>
21 <#assign scalingDetails = {
22 "desktop": {"alternateImage": {}, "key": "h_530"},
23 "tl": {"alternateImage": {}, "key": "h_695"},
24 "tp": {"alternateImage": {}, "key": "w_768"},
25 "mobile": {"alternateImage": {}, "key": "w_375"}
26 }>
27 <#assign galleryFullImg = leonardo.adaptImage(curImg.Image!, scalingDetails )>
28 <#if curImg?is_first>
29 <img class="multimedia--card--graphic" alt="${galleryImg.alt_desktop!}" src="${themeDisplay.pathThemeImages}/blank.png"
30 data-src-url-d="${galleryImg.desktop!}"
31 data-src-url-tl="${galleryImg.tablet_landscape!}"
32 data-src-url-tp="${galleryImg.tablet_portrait!}"
33 data-src-url-m="${galleryImg.mobile!}"
34 />
35 <span class="multimedia--card--graphic-details">
36 <span class="multimedia--card--graphic-details--count"> <strong>${ImageTitle.getSiblings()?size}</strong> <@liferay.language key="photos" /></span>
37 <svg xmlns="http://www.w3.org/2000/svg" width="22" height="20" viewBox="0 0 22 20">
38 <g fill="#FFF" fill-rule="evenodd">
39 <path d="M9.01 4.717c-1.938 0-3.877-.002-5.815 0-1.156.002-1.948.777-1.95 1.908a8490.43 8490.43 0 0 0 0 10.265c.001 1.112.8 1.892 1.938 1.893h11.63c1.158 0 1.944-.772 1.944-1.908.002-3.413.001-6.826 0-10.24 0-1.152-.781-1.917-1.957-1.918H9.01zm8.987 10.987c0 .444.003.849 0 1.253-.014 1.7-1.366 3.035-3.102 3.038-3.93.007-7.86.007-11.79 0-1.72-.003-3.094-1.338-3.098-3.018-.01-3.465-.01-6.93 0-10.395C.01 4.828 1.36 3.508 3.149 3.505c3.922-.007 7.843-.006 11.764 0 1.707.003 3.065 1.334 3.085 3.003.004.419 0 .838 0 1.288v7.908z"/>
40 <path d="M6.695 1.218c-1.142.001-1.93.757-1.949 1.866.058.052 13.479 12.049 13.651 12.2 1.112-.037 1.86-.8 1.86-1.909.002-3.413.001-6.826 0-10.24 0-1.152-.781-1.917-1.957-1.918h-5.79c-1.938 0-3.877-.002-5.815 0zm14.802 10.986c0 .444.003.849 0 1.253-.014 1.7-1.366 3.035-3.102 3.038v-1.213L4.744 3.082H3.507C3.51 1.328 4.86.008 6.649.005c3.922-.007 7.843-.006 11.764 0 1.707.003 3.065 1.334 3.085 3.003.004.419 0 .838 0 1.288v7.908z"/>
41 </g>
42 </svg>
43 </span>
44 </#if>
45 <span class="dataList"
46 data-caption="${curImg.getData()!}"
47 data-desc="${curImg.Image.getAttribute('alt')!}"
48 data-title="${curImg.Image.getAttribute('title')!}"
49 data-src-url-d="${galleryImg.desktop!}"
50 data-src-url-tl="${galleryImg.tablet_landscape!}"
51 data-src-url-tp="${galleryImg.tablet_portrait!}"
52 data-src-url-m="${galleryImg.mobile!}"
53 data-src-url-full-d="${galleryFullImg.desktop!}"
54 data-src-url-full-tl="${galleryFullImg.tablet_landscape!}"
55 data-src-url-full-tp="${galleryFullImg.tablet_portrait!}"
56 data-src-url-full-m="${galleryFullImg.mobile!}"
57 data-src-url-hd="${galleryFullImg.desktop!}">
58 </span>
59 <noscript>
60 <img src="${galleryFullImg.desktop!}" alt='${galleryFullImg.alt_desktop!}'>
61 <img src="${galleryFullImg.tablet_landscape!}" alt='${galleryFullImg.alt_tablet_landscape!}'>
62 <img src="${galleryFullImg.tablet_portrait!}" alt='${galleryFullImg.alt_tablet_portrait!}'>
63 <img src="${galleryFullImg.mobile!}" alt='${galleryFullImg.alt_mobile!}'>
64 </noscript>
65 </#list>
66 </div>
67 <div class="multimedia--card--desc">
68 <#assign maxlength = 150 >
69 <#assign nameLength = AlbumTitle.getData()?length >
70 <#assign maxlength = maxlength - nameLength >
71 <#if maxlength gte 0>
72 <span class="title">${(AlbumTitle.getData())!}</span>
73 ${leonardo.stringEllipsis(htmlUtil.extractText(AlbumDescription.getData()!), maxlength)}
74 <#else>
75 <span class="title">${(AlbumTitle.getData())!}</span>
76 </#if>
77 </div>
78 <div class="div" id="video_id"></div>
79 </a>
80 </div>
81</#if>
82<!--End Module: Multimedia Card-->