Some more things for Freemarker
git-svn-id: https://svn.libreccm.org/ccm/trunk@5902 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
4ed7bdd480
commit
232587146d
|
|
@ -187,3 +187,11 @@
|
||||||
</#if>
|
</#if>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#function getNewsDateIso item>
|
||||||
|
<#if (item["./newsDate"]?size > 0)>
|
||||||
|
<#return item["./newsDate/@iso"]>
|
||||||
|
<#elseif (item["./nav:attribute[@name='newsDate']"]?size > 0)>
|
||||||
|
<#return item["./nav:attribute[@name='newsDate']/@iso"]>
|
||||||
|
</#if>
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,10 @@
|
||||||
|
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
||||||
|
<#function getContentItem>
|
||||||
|
<#return model["/bebop:page/cms:contentPanel/cms:item"]>
|
||||||
|
</#function>
|
||||||
|
|
||||||
<#--
|
<#--
|
||||||
Includes the template for the type of the provided content item
|
Includes the template for the type of the provided content item
|
||||||
for the provided view and style. The paramters view and style are
|
for the provided view and style. The paramters view and style are
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue