diff --git a/config/alfresco/templates/content/examples/doc_info.ftl b/config/alfresco/templates/content/examples/doc_info.ftl
index 00af7cc5b0..2821edeeee 100644
--- a/config/alfresco/templates/content/examples/doc_info.ftl
+++ b/config/alfresco/templates/content/examples/doc_info.ftl
@@ -1,18 +1,47 @@
<#-- Shows some general info about the current document, including NodeRef and aspects applied -->
-
+ <#-- Get a list of all the property names for the document -->
+ <#assign props = document.properties?keys>
+ <#list props as t>
+ <#-- If the property exists -->
+ <#if document.properties[t]?exists>
+ <#-- If it is a date, format it accordingly -->
+ <#if document.properties[t]?is_date>
+
${t} = ${document.properties[t]?datetime}
+
+ <#-- If it is a boolean, format it accordingly -->
+ <#elseif document.properties[t]?is_boolean>
+
diff --git a/config/alfresco/templates/content/examples/my_pressreleases.ftl b/config/alfresco/templates/content/examples/my_pressreleases.ftl
deleted file mode 100644
index 1fa8d9c825..0000000000
--- a/config/alfresco/templates/content/examples/my_pressreleases.ftl
+++ /dev/null
@@ -1,22 +0,0 @@
-<#-- Displays a table of all the documents from a "Press Releases" folder under Company Home -->
-<#-- Obviously this folder needs to exist and the docs in it should have the title and description fields set -->
-
diff --git a/config/alfresco/templates/content/examples/userhome_docs.ftl b/config/alfresco/templates/content/examples/userhome_docs.ftl
deleted file mode 100644
index 180fb92aa7..0000000000
--- a/config/alfresco/templates/content/examples/userhome_docs.ftl
+++ /dev/null
@@ -1,15 +0,0 @@
-<#-- List of docs in the Home Space for current user -->
-<#-- If the doc mimetype is plain/text then the content is shown inline -->
-<#-- If the doc mimetype is JPEG then the image is shown inline as a small thumbnail image -->
-
-<#list userhome.children as child>
- <#if child.isDocument>
-
${child.properties.name}
- <#if child.mimetype = "text/plain">
-
${child.content}
- <#elseif child.mimetype = "image/jpeg">
-
- #if>
- #if>
-#list>
-
diff --git a/config/alfresco/templates/content/examples/xpath_search.ftl b/config/alfresco/templates/content/examples/xpath_search.ftl
deleted file mode 100644
index b81f9440d5..0000000000
--- a/config/alfresco/templates/content/examples/xpath_search.ftl
+++ /dev/null
@@ -1,26 +0,0 @@
-<#-- Shows use of the childByNamePath, childrenByXPath and childrenByLuceneSearch API -->
-
-
Template Documents in 'Company Home/Data Dictionary/Presentation Templates':
-
-<#list companyhome.childByNamePath["Data Dictionary/Presentation Templates"].children as child>
- <#if child.isDocument>
-
diff --git a/config/alfresco/templates/content_template_examples.xml b/config/alfresco/templates/content_template_examples.xml
index f993d5a5fe..e0ae7574bc 100644
--- a/config/alfresco/templates/content_template_examples.xml
+++ b/config/alfresco/templates/content_template_examples.xml
@@ -7,8 +7,8 @@
true
- Displays basic information about the current document
- contentUrl=classpath:alfresco/templates/content/examples/doc_info.ftl|mimetype=text/plain|size=636|encoding=UTF-8
+ Displays useful information about the current document
+ contentUrl=classpath:alfresco/templates/content/examples/doc_info.ftl|mimetype=text/plain|size=1884|encoding=UTF-8doc_info.ftldoc_info.ftl
@@ -84,20 +84,6 @@
-
-
-
-
-
-
- true
- Renders a valid RSS2.0 XML document showing the documents in the current space created or modified in the last 7 days. The template should be configured to use the appropriate server and port before use.
- contentUrl=classpath:alfresco/templates/content/examples/RSS_2.0_recent_docs.ftl|mimetype=text/plain|size=1917|encoding=UTF-8
- RSS_2.0_recent_docs.ftl
- RSS_2.0_recent_docs.ftl
-
-
-
@@ -140,18 +126,4 @@
-
-
-
-
-
-
- true
- Example of using XPath and Lucene searches within a template.
- contentUrl=classpath:alfresco/templates/content/examples/xpath_search.ftl|mimetype=text/plain|size=1109|encoding=UTF-8
- xpath_search.ftl
- xpath_search.ftl
-
-
-
\ No newline at end of file