Home
An error occurred while processing the template.
The following has evaluated to null or missing: ==> serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") [in template "20101#20127#48501" at line 126, column 39] ---- 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 journalArticleLocalService = ... [in template "20101#20127#48501" at line 126, column 1] ----
1<div class="cbSlider">
2 <div class="carousel-inner">
3 <ul class="cb-slideshow">
4 <li>
5 <span>01</span>
6 <div></div>
7 </li>
8 <li>
9 <span>02</span>
10 <div></div>
11 </li>
12 <li>
13 <span>03</span>
14 <div></div>
15 </li>
16 <li>
17 <span>04</span>
18 <div></div>
19 </li>
20 <li>
21 <span>05</span>
22 <div></div>
23 </li>
24 <li>
25 <span>06</span>
26 <div></div>
27 </li>
28 </ul>
29 <div class="carousel-caption container">
30 <h1 class="animated fadeInUpBig">${SliderTitle.getData()}</h1>
31 <div class="animated fadeInDownBig">${Content.getData()}</div>
32 <!--<div class="video-slider">
33 <h1>
34 Combating COVID 19
35 </h1>
36 <div class="video-box">
37 <div id="covidVideoplayer"></div>
38 </div>
39 </div>-->
40 <div class="video-slider" style="margin-top:-60px !important;">
41 <img src="https://www.chandigarhsmartcity.in/documents/20123/0/CSCL+PhotoGraphy+Challenge.jpeg/97ab5105-4a08-eb30-d1e8-6549d33d4be7?t=1642489895214" alt="Photography Contest" style="height: 335px;width: 300px;"/>
42 </div>
43 </div>
44 </div>
45 <#assign counter = 1>
46 <#assign boxAction = "javascript:void(0)">
47 <#assign boxImage = "/o/csc-theme/images/custom_images/slider_box_icon/1.svg">
48 <#assign tulip_box_css = "">
49 <#assign link_target = "_self">
50 <div class="brand-promotion">
51 <div class="container">
52 <div class="media row">
53 <#if SliderBoxTitle.getSiblings()?has_content>
54 <#list SliderBoxTitle.getSiblings() as cur_row>
55 <#if counter == 1>
56 <#assign boxAction = "/project-new">
57 <#assign boxImage = "/o/csc-theme/images/custom_images/slider_box_icon/${counter}.svg">
58 </#if>
59 <#if counter == 2>
60 <#assign boxAction = "#win-serve-grow">
61 <#assign boxImage = "/o/csc-theme/images/custom_images/slider_box_icon/${counter}.svg">
62 </#if>
63 <#if counter == 3>
64 <#assign boxAction = "/sectors-to-neighbourhood">
65 <#assign boxImage = "/o/csc-theme/images/custom_images/slider_box_icon/${counter}.svg">
66 </#if>
67 <#if counter == 4>
68 <#assign boxAction = "https://internship.aicte-india.org/module_ulb/Dashboard/TulipMain/index.php">
69 <#assign boxImage = "/documents/20123/267719/tulip-nw.gif/2c9629d0-e1d6-f5dc-a640-4c1c1fe3567f?t=1599721567284">
70 <#assign tulip_box_css = "tulip-box">
71 <#assign link_target = "_blank">
72 </#if>
73 <div class="col-md-3">
74 <a href="${boxAction}" target="${link_target}">
75 <div class="brand-content wow fadeIn ${tulip_box_css}" data-wow-duration="700ms" data-wow-delay="300ms">
76 <#if counter == 4>
77 <img class="pull-left img-fluid tulip-img" src="${boxImage}" alt="${cur_row.getData()}"/>
78 </#if>
79 <#if counter != 4>
80 <img class="pull-left img-fluid" src="${boxImage}" width="20%" alt="${cur_row.getData()}"/>
81 <div class="media-body">
82 <h2>
83 ${cur_row.getData()}
84 </h2>
85 <div>${htmlUtil.extractText(cur_row.Description.getData())}</div>
86 </div>
87 </#if>
88 </div>
89 </a>
90 </div>
91 <#assign counter = counter+1>
92 </#list>
93 </#if>
94 </div>
95 </div>
96 </div>
97 <!--/#brand-promotion-->
98</div>
99<div class="highlight-box">
100 <div id="highlightWN" class="highlights" style="display: block;">
101 <i class="fa fa-address-book" aria-hidden="true">
102 <img src="/o/csc-theme/images/custom_images/whatsNew.png" alt="${WhatsNewHeader.getData()}">
103 </i>
104 ${WhatsNewHeader.getData()}
105 </div>
106 <div class="highlight-content">
107 <h2>${WhatsNewHeader.getData()}<i class="fa fa-times pull-right" aria-hidden="true" id="close"></i></h2>
108 <div class="highlight-content-txt">
109 <#if WhatsNewContent.getSiblings()?has_content>
110 <ul>
111 <#list WhatsNewContent.getSiblings() as cur_row>
112
113 <li> <a target="_blank" href="https://www.chandigarhsmartcity.in/web/guest/whatsnew">
114 ${cur_row.getData()}
115 </a>
116 </li>
117
118 </#list>
119 </ul>
120 </#if>
121 </div>
122 </div>
123</div>
124
125<div id="latest_project_content">
126<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
127<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()>
128<#assign themeDisplay = serviceContext.getThemeDisplay() />
129<#assign eventArticle = journalArticleLocalService.fetchArticle(themeDisplay.getScopeGroupId(), "LATEST_PROJECTS")>
130${journalArticleLocalService.getArticleContent(eventArticle, eventArticle.getDDMTemplateKey(), "VIEW", locale, themeDisplay)}
131</div>
132
133<div id="event_content">
134<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
135<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()>
136<#assign themeDisplay = serviceContext.getThemeDisplay() />
137<#assign eventArticle = journalArticleLocalService.fetchArticle(themeDisplay.getScopeGroupId(), "UPCOMING_EVENT")>
138${journalArticleLocalService.getArticleContent(eventArticle, eventArticle.getDDMTemplateKey(), "VIEW", locale, themeDisplay)}
139<div>
140<script>
141 $('#highlightWN').click(function(){
142 $('#highlightWN').css('display','none');
143 $('.highlight-content').css('display','block');
144 $('.highlight-box').css('display','block');
145 $('.highlight-box').css('width','200px');
146 if($('.highlight-box').css('width')=="0px"){
147 $('.highlight-box').css('display','none');
148 $('.highlight-box').css('width','200px');
149 start=true;
150 }else{
151 start=false;
152 }
153 $('.highlight-box').toggle('slide',{direction: 'right'},1000,function(){
154 if(!start){
155 $('.highlight-box').css('width','0px');
156 $('.highlight-box').css('display','block');
157 }
158 });
159 });
160
161
162 $('#close').click(function(){
163 $('.highlight-content').css('display','none');
164 $('.highlight-box').css('width','0px');
165 $('#highlightWN').css('display','block');
166 $('.highlight-box').css('overflow','inherit');
167 });
168
169 function openProjectModal(){
170 $("#projectModal").modal();
171 }
172 function openEventModal(){
173 $("#eventModal").modal();
174 }
175</script>
176<script>
177 var tag = document.createElement('script');
178
179 tag.src = "https://www.youtube.com/iframe_api";
180 var firstScriptTag = document.getElementsByTagName('script')[0];
181 firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
182
183 var player;
184 function onYouTubeIframeAPIReady() {
185 player = new YT.Player('covidVideoplayer', {
186 height: '180',
187 width: '270',
188 videoId: 'pIwh89Sp_tQ',
189 events: {
190 'onReady': onPlayerReady,
191 'onStateChange': onPlayerStateChange
192 }
193 });
194 }
195 function onPlayerReady(event) {
196 event.target.playVideo();
197 }
198 var done = false;
199 function onPlayerStateChange(event) {
200 if (event.data == YT.PlayerState.PLAYING && !done) {
201 setTimeout(stopVideo, 6000);
202 done = true;
203 }
204 }
205 function stopVideo() {
206 player.stopVideo();
207 }
208 </script>
209
210 <style>
211 .brand-promotion .brand-content {
212 min-height: 146px;
213 }
214 .brand-content {
215 padding: 10px 10px;
216 font-size: 80%;
217 }
218 .brand-content img {
219 margin-right: 10px;
220 margin-top: 10px;
221 }
222 .brand-content h2{
223 font-size: 18px;
224 }
225 .brand-promotion .brand-content .tulip-img{
226 width: 100%;
227 margin: 0;
228 }
229 .brand-promotion .brand-content.tulip-box{
230 padding:0
231 }
232 @media (max-width: 767px) {
233 .brand-promotion {
234 bottom: -15px;
235 left: 0;
236 right: 25px;
237 width: 93%;
238 }
239}
240 </style>
Contact Us
Registered Office
Chandigarh Smart City Limited,
Building No. 1, 2nd and 3rd Floor,
Adjoining SCO 17-18-19, Over New Bridge,
Sector 17 A, Chandigarh, Pin 160017
CIN No: U74999CH2016GOI041151
Phone: 0172-504-3196
Email: smartcity.chd@nic.in
Follow Us On
Important Links
Feedback
Success:Thanks for your valuable feedback.
Website is compatible with Google Chrome, MircosoftEdge, Safari in desktop.
Website updated on 12/07/2024