diff --git a/src/OFS/Application.py b/src/OFS/Application.py index 0bc289b3d0..5d384f2cc0 100644 --- a/src/OFS/Application.py +++ b/src/OFS/Application.py @@ -351,7 +351,8 @@ def install_root_view(self): if 'index_html' not in app: from Products.PageTemplates.ZopePageTemplate import \ ZopePageTemplate - root_pt = ZopePageTemplate('index_html') + root_pt = ZopePageTemplate('index_html', + text=DEFAULT_ROOT_TEMPLATE) root_pt.pt_setTitle('Auto-generated default page') app._setObject('index_html', root_pt) self.commit('Added default view for root object') @@ -513,3 +514,37 @@ def pgetattr(product, name, default=install_products, __init__=0): return default raise AttributeError(name) + + +DEFAULT_ROOT_TEMPLATE = """\ + + +
++ This is Page Template template id. +
++ For documentation, please visit + https://zope.readthedocs.io. +
+ + +""" diff --git a/src/zmi/styles/configure.zcml b/src/zmi/styles/configure.zcml index ed821a9e26..c20a979b14 100644 --- a/src/zmi/styles/configure.zcml +++ b/src/zmi/styles/configure.zcml @@ -6,7 +6,13 @@