Entête "Listing actualités"

Toutes les actualités

Informations complètes et à jour, compilées par la Mission Participation citoyenne à partir de sources d'actualités de toute l'Eurométropole.

Contentverzamelaar

angle-left Label OR "territoire innovant"
Er trad een fout op tijdens de verwerking van de sjabloon.
The string doesn't match the expected date/time/date-time format. The string to parse was: "lun., 06 avr. 2020 12:33:00 +0200". The expected format was: "EEE, dd MMM yyyy hh:mm:ss Z".
The nested reason given follows:
Unparseable date: "lun., 06 avr. 2020 12:33:00 +0200"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${.vars["reserved-article-display-dat...  [in template "20116#20160#2532255" at line 45, column 82]
----
1<#-- Detail actualite --> 
2 
3<#-- La documentation explicative de la modification des préférences du portlet est disponible sur le drive : Document (Asset publisher (Éléments relatifs)) --> 
4<#assign sliderTemplate =  "ddmTemplate_1809516"/> 
5<#assign typeActualite =  "1807609"/> 
6 
7<#setting locale = locale /> 
8<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() /> 
9<#assign request = serviceContext.getRequest()/> 
10<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
11 
12<#if !themeDisplay.scopeGroup.publicLayoutSet.virtualHostname?has_content || themeDisplay.scopeGroup.isStagingGroup()> 
13    <#assign homeURL = "/web${layout.group.friendlyURL}/" /> 
14<#else> 
15    <#assign homeURL = "/" /> 
16</#if> 
17 
18<#--  récupération de l'id du webcontent --> 
19<#assign journalArticleId = .vars['reserved-article-id'].data> 
20<#assign journalArticleResourceLocalServiceUtil = staticUtil["com.liferay.journal.service.JournalArticleResourceLocalServiceUtil"]> 
21<#assign assetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"]> 
22 
23 
24<#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId)/> 
25<#assign categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle",articleResourcePK) > 
26 
27<#assign imageUrl = ""/> 
28<!-- image --> 
29<#if thumbnail.getData()?has_content> 
30    <#assign imageUrl = themeDisplay.getPortalURL() + thumbnail.getData()?replace('@', "")?replace('cdn_hostroot_path', "") /> 
31</#if> 
32 
33<#-- Liste des infos a partager --> 
34<#assign openGraph = { 
35"og:title":"${title.getData()?html}", 
36"og:description":'${chapo.getData()?replace("<[^>]*>", "", "r")?html}',  
37"og:image":"${imageUrl}" 
38} /> 
39<#-- partage de la configuration open graph dans la request --> 
40${request.setAttribute("LIFERAY_SHARED_OPENGRAPH", openGraph)}  
41 
42<article class="container pro-actu"> 
43    <div class="col-md-10 col-md-offset-1 col-sm-12"> 
44        <header> 
45            <span class="pro-time"><@liferay_ui.message key="eu.published-on" /> ${.vars['reserved-article-display-date'].getData()?date('EEE, dd MMM yyyy hh:mm:ss Z')?string("dd/MM/yyyy")}  
46           - <@liferay_ui.message key="eu.modified-on" /> ${.vars['reserved-article-modified-date'].getData()?date('EEE, dd MMM yyyy hh:mm:ss Z')?string("dd/MM/yyyy")} 
47            </span> 
48            <h1>${title.getData()}</h1> 
49            <div class="pro-meta"> 
50                <#list categoryList as categoryList> 
51                   <span> ${categoryList.getName()} <span> 
52                </#list> 
53            </div> 
54            <figure role="group"> 
55                <img src='${image.getData()}' alt="Image agenda" width="1160" height="593" class="fit-cover"/> 
56                <figcaption>Crédit de la photographie</figcaption> 
57            </figure> 
58        </header> 
59         
60        <div id="breadcrumb"> 
61            <span> 
62                <span><a href="${homeURL}accueil">Accueil</a> 
63                    <a href="${homeURL}actualites">Toutes les actualités</a> 
64                    <span class="breadcrumb_last">${title.getData()}</span> 
65                </span> 
66            </span> 
67        </div> 
68        <div class="pro-content pro-bloc-texte col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 col-sm-12"> 
69            ${content.getData()} 
70        </div> 
71    </div> 
72</article> 
73 
74	<#assign PortalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"] /> 
75	<#assign classNameId = PortalUtil.getClassNameId("com.liferay.journal.model.JournalArticle") /> 
76	<#assign AssetVocabularyLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyLocalServiceUtil"] />	 
77	 
78	<#assign scopGlobal = themeDisplay.getCompanyGroupId() /> 
79	<#assign scop = themeDisplay.getSiteGroupId() /> 
80	<#assign i = 0 /> 
81	<#assign thematique = AssetVocabularyLocalServiceUtil.fetchGroupVocabulary(scop, "Thématique") /> 
82	<#assign quartier = AssetVocabularyLocalServiceUtil.fetchGroupVocabulary(scopGlobal, "Territoire") /> 
83 
84	<#assign preferencesMap = {"anyAssetType" : "${classNameId}", "classNameIds" : "${classNameId}", "displayStyle" : "${sliderTemplate}", "anyClassTypeJournalArticleAssetRendererFactory" : "${typeActualite}", 
85	"classTypeIdsJournalArticleAssetRendererFactory" : "${typeActualite}", "classTypeIds" : "${typeActualite}", "delta" : "4"}	/>	 
86	 
87	<#-- On suggere les actualite avec la meme thematique que l'entite affichee --> 
88	<#list categoryList as cat > 
89		<#if cat.getVocabularyId() == thematique.getVocabularyId()> 
90			<#assign preferencesMap = preferencesMap + {"queryName${i}" : "assetCategories", "queryContains${i}" : "true", "queryValues${i}" : "${cat.getCategoryId()}"} > 
91			<#assign i++ /> 
92		</#if>	 
93	</#list> 
94	 
95	<#-- On suggere les actualite avec le meme territoire que l'entite affichee --> 
96	<#list categoryList as cat> 
97		<#if cat.getVocabularyId() == quartier.getVocabularyId()> 
98			<#assign preferencesMap = preferencesMap + {"queryName${i}" : "assetCategories", "queryContains${i}" : "true", "queryValues${i}" : "${cat.getCategoryId()}"} > 
99			<#assign i++ /> 
100		</#if>	 
101	</#list> 
102 
103	<@liferay_portlet["runtime"] 
104		defaultPreferences=freeMarkerPortletPreferences.getPreferences(preferencesMap) 
105		portletProviderAction=portletProviderAction.VIEW 
106		portletName="com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet" 
107		instanceId="article${journalArticleId}" 
108		/> 
109 
110<style> 
111.search-asset-portlet, .page-header, .pro-header-small { 
112    display: none !important; 
113
114.portlet-body > div > div.h2 { 
115    display: none; 
116
117</style> 
118<script type="text/javascript"> 
119    $(document).ready(function() { 
120        $('.comment-portlet').css("cssText", "display: block !important;"); 
121    }); 
122	 
123	$(document).ready(function() { 
124		//Change le titre du slider des actualite 
125		$(".pro-intro h2").text("CELA POURRAIT VOUS INTERESSER"); 
126		$(".pro-intro p").hide(); 
127	}); 
128</script> 

Recherche d'asset

eu.thematics
eu.districts

Commentaires