ဓာတ်ပုံနှင့် ဗီဒီယိုများ

ဓာတ်ပုံနှင့် ဗီဒီယိုများ

An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator.findService("mnp.custom.dlfile.util.DLFileUtilService")  [in template "20116#20152#114030" at line 14, column 69]

----
Tip: If the failing expression is known to be 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: #assign dlAppServiceUtil = serviceLoc...  [in template "20116#20152#114030" at line 14, column 41]
----
1<#if entries?has_content> 
2	<div class="popup-gallery"> 
3		<div class="row"> 
4	<#list entries as curEntry> 
5		<#assign rootElement = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)).getRootElement()> 
6		<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 gallery-box"> 
7		<#list rootElement.elements() as dynamicElement> 
8			<#if "photo" == dynamicElement.attributeValue("name") > 
9				<#assign  
10					imageContent = dynamicElement.element("dynamic-content") 
11					photo = dynamicElement.element("dynamic-content").getData() 
12					/> 
13				<a href=${photo} title="${curEntry.getTitle(locale)}"> 
14					<#assign dlAppServiceUtil = serviceLocator.findService("mnp.custom.dlfile.util.DLFileUtilService") />  
15					<#assign  
16						fileEntryIdNumber = imageContent.attributeValue("fileEntryId") 
17					/> 
18					<#if fileEntryIdNumber?? && fileEntryIdNumber?has_content> 
19						<#assign fileEntryIdNumber = imageContent.attributeValue("fileEntryId")?number /> 
20						<#if dlAppServiceUtil.getFileVersion(fileEntryIdNumber)?? && dlAppServiceUtil.getFileVersion(fileEntryIdNumber)?has_content> 
21							<@adaptive_media_image["img"]  
22							fileVersion=dlAppServiceUtil.getFileVersion(fileEntryIdNumber)  
23							class="modal-img"/>  
24						<#else> 
25							<img src=${photo} class="modal-img" /> 
26						</#if> 
27					<#else> 
28						<img src=${photo} class="modal-img" /> 
29					</#if> 
30					 
31				</a> 
32			</#if> 
33		</#list> 
34			<p>${stringUtil.shorten(curEntry.getTitle(locale),40)}</p> 
35		</div> 
36	</#list> 
37	</div> 
38		</div> 
39<#else> 
40 <h1>${themeDisplay.translate("mnp-no-data-available")}</h1> 
41</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator.findService("mnp.custom.dlfile.util.DLFileUtilService")  [in template "20116#20152#114203" at line 4, column 36]

----
Tip: If the failing expression is known to be 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: dlAppServiceUtil = serviceLocator.fin...  [in template "20116#20152#114203" at line 4, column 17]
	- Reached through: #assign-container  [in template "20116#20152#114203" at line 2, column 9]
----
1<#if entries?has_content> 
2	<#assign  
3		index = 0 
4		dlAppServiceUtil = serviceLocator.findService("mnp.custom.dlfile.util.DLFileUtilService") 
5	/> 
6	<#list entries as curEntry> 
7		<#assign rootElement = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)).getRootElement()> 
8		<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6"> 
9			<div class="lightbox-item lightbox-video"> 
10				<#assign  
11					youtubeURL = "" 
12					image = "" 
13					value1 = '["value 1"]' 
14					value2 = '["value 2"]' 
15					videoType="" 
16					uploadVideo="" 
17				/> 
18				<#list rootElement.elements() as dynamicElement> 
19					<#if "linkVideo" == dynamicElement.attributeValue("name") > 
20						<#assign youtubeURL = dynamicElement.element("dynamic-content").getData()> 
21					</#if> 
22					<#if "image" == dynamicElement.attributeValue("name") > 
23						<#assign  
24						imageContent = dynamicElement.element("dynamic-content") 
25						image = dynamicElement.element("dynamic-content").getData()> 
26					</#if> 
27					<#if "uploadVideo" == dynamicElement.attributeValue("name") > 
28						<#assign uploadVideo = dynamicElement.element("dynamic-content").getData()> 
29					</#if> 
30					<#if "VideoType" == dynamicElement.attributeValue("name") > 
31						<#assign videoType = dynamicElement.element("dynamic-content").getData()> 
32					</#if> 
33				</#list> 
34				<#if (videoType == value1)> 
35				<a href="#" class="open-popup-link-${index}"> 
36				<div class="port-img-overlay"> 
37					<#assign  
38						fileEntryIdNumber = imageContent.attributeValue("fileEntryId") 
39					/> 
40					<#if fileEntryIdNumber?? && fileEntryIdNumber?has_content> 
41						<#assign fileEntryIdNumber = imageContent.attributeValue("fileEntryId")?number /> 
42						<#if dlAppServiceUtil.getFileVersion(fileEntryIdNumber)?? && dlAppServiceUtil.getFileVersion(fileEntryIdNumber)?has_content> 
43							<@adaptive_media_image["img"] fileVersion=dlAppServiceUtil.getFileVersion(fileEntryIdNumber)/>  
44						<#else> 
45							<img class="port-main-img" src=${image} alt="img" > 
46						</#if> 
47					<#else> 
48							<img class="port-main-img" src=${image} alt="img" > 
49					</#if> 
50				</div> 
51				</a> 
52				<div id="mnp-video-popup-${index}" class="white-popup mfp-hide"> 
53					<video width="720px" height="480px" controls> 
54					  <source src="${uploadVideo}" type="video/mp4"> 
55					  Your browser does not support the video tag. 
56					</video> 
57				</div> 
58				<script> 
59				$( document ).ready(function() { 
60				$('.open-popup-link-${index}').magnificPopup({ 
61					  items: { 
62						  src: $('#mnp-video-popup-${index}'), 
63						  type: 'inline', 
64						  midClick: true, 
65						  mainClass: 'custom-popup-class' 
66
67					}); 
68				}); 
69					 
70				</script> 
71				<#assign index = index + 1>	 
72				<#elseif (videoType == value2)> 
73				<a href="${youtubeURL}" class="popup-youtube"> 
74				<div class="port-img-overlay"> 
75					<#assign  
76						fileEntryIdNumber = imageContent.attributeValue("fileEntryId") 
77					/> 
78					<#if fileEntryIdNumber?? && fileEntryIdNumber?has_content> 
79						<#assign  
80							fileEntryIdNumber = imageContent.attributeValue("fileEntryId")?number 
81						/> 
82						<#if dlAppServiceUtil.getFileVersion(fileEntryIdNumber)?? && dlAppServiceUtil.getFileVersion(fileEntryIdNumber)?has_content> 
83							<@adaptive_media_image["img"] fileVersion=dlAppServiceUtil.getFileVersion(fileEntryIdNumber)/>  
84						<#else> 
85							<img class="port-main-img" src=${image} alt="img" > 
86						</#if> 
87					<#else> 
88							<img class="port-main-img" src=${image} alt="img" > 
89					</#if> 
90				</div> 
91				<div class="port-overlay-cont"> 
92					<div class="port-btn-cont"> 
93						<i class="fa fa-play"></i> 
94					</div> 
95				</div> 
96				</a>			 
97				</#if> 
98				<p>${stringUtil.shorten(curEntry.getTitle(locale),40)}</p> 
99			</div> 
100		</div> 
101 
102	 
103	</#list> 
104<#else> 
105 <h1>${themeDisplay.translate("mnp-no-data-available")}</h1> 
106</#if> 
107<style> 
108.white-popup { 
109  position: relative; 
110  background: black; 
111  padding: 20px; 
112  width: auto; 
113  max-width: 780px; 
114  margin: 20px auto; 
115
116</style> 
HOT NEWS
January 4,