General Election results 

There was a General Election on Thursday 4 July.

All services

Find my nearest

Find my nearest

The easiest way to find nearest schools, council services, your councillors, car parks and more.

Latest news from Dorset Council

An error occurred while processing the template.
Java method "uk.gov.dorsetcouncil.news.web.internal.asset.model.NewsAssetRenderer.getThumbnail()" threw an exception when invoked on uk.gov.dorsetcouncil.news.web.internal.asset.model.NewsAssetRenderer object "uk.gov.dorsetcouncil.news.web.internal.asset.model.NewsAssetRenderer@7172f3f8"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: thumbnail = assetRenderer.getThumbnail()  [in template "35001#35028#4318304" at line 17, column 13]
----
1<#compress> 
2  <#if !entries?has_content> 
3    <#if !themeDisplay.isSignedIn()> 
4      ${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
5    </#if> 
6    <div class="alert alert-info"> 
7      <@liferay_ui["message"] 
8        key="there-are-no-results" /> 
9    </div> 
10    <#else> 
11      <div class="row row-cols-1 row-cols-lg-4"> 
12        <#list entries?filter(e -> e.visible) as entry> 
13          <#assign 
14            entry=entry 
15            assetRenderer=entry.getAssetRenderer() 
16            entryTitle=htmlUtil.escape(assetRenderer.getTitle(locale)) 
17            thumbnail=assetRenderer.getThumbnail() 
18					/> 
19            <#if stringUtil.equals(assetLinkBehavior, "showFullContent" )> 
20              <#assign viewURL=assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, false)> 
21                <#else> 
22                  <#assign viewURL=(assetRenderer.getURLViewInContext(renderRequest, renderResponse, "" ))!""> 
23            </#if> 
24            <#if entry?is_first> 
25              <div class="col col-sm-12 col-lg-6 mb-4 d-flex flex-grow-1"> 
26                <div class="card news-showcase-card flex-grow-1"> 
27                  <img src="${thumbnail.url}" class="card-img-top news-img-showcase" alt="..."> 
28									 <div class="card-body news-showcase-body-hidden"> 
29										   <h3 class="card-title news-title">${entryTitle}</h3> 
30									</div> 
31                  <div class="card-body news-card-body news-showcase-body"> 
32                    <h3 class="card-title news-title" itemprop="headline"><a itemprop="url" href="${viewURL}" class="stretched-link">${entryTitle}</a></h3> 
33                  </div> 
34                </div> 
35              </div> 
36              <#else> 
37                <div class="col col-xs-12 col-sm-6 col-lg-3 mb-4 d-flex flex-grow-1"> 
38                  <div class="card news-card-body news-showcase-card flex-grow-1"> 
39                    <img src="${thumbnail.url}" class="card-img-top news-img-top" alt="..."> 
40                    <div class="card-body"> 
41                      <h3 class="card-title news-title" itemprop="headline"><a itemprop="url" href="${viewURL}" class="stretched-link">${entryTitle}</a></h3> 
42                    </div> 
43                  </div> 
44                </div> 
45            </#if> 
46        </#list> 
47      </div> 
48  </#if> 
49  <@liferay_util["html-top"] 
50	outputKey="newsShowcaseCardsHtmlTop"> 
51<style> 
52    .news-img-top { 
53        height: 200px; 
54        object-fit: cover; 
55
56 
57    .news-img-showcase { 
58        object-fit: cover; 
59        height: 100%; 
60
61 
62    .news-showcase-body { 
63        position: absolute; 
64        bottom: 30px; 
65        max-width: 90%; 
66        background: white; 
67
68 
69    .news-card-body .news-title { 
70        margin-top: 0; 
71        margin-bottom: 0 
72
73 
74    .news-showcase-body-hidden { 
75        display:none; 
76
77 
78   @media (max-width: 576px) { 
79	 .news-showcase-body-hidden { 
80        display:block; 
81		    visibility:hidden; 
82
83
84 
85</style> 
86    </@> 
87</#compress>