From d9ca7d9791ad5aaef83a12474983c66565aec7a2 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 10 Oct 2016 13:43:01 -0700 Subject: [PATCH] Added media-category example to _blank plugin. Added 'profile' template to Pages. --- e107_core/templates/page_template.php | 14 ++++++++++++++ e107_plugins/_blank/plugin.xml | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/e107_core/templates/page_template.php b/e107_core/templates/page_template.php index 574d721d0..5a1678613 100644 --- a/e107_core/templates/page_template.php +++ b/e107_core/templates/page_template.php @@ -118,8 +118,22 @@ $sc_style['CPAGENAV|default']['post'] = ''; $PAGE_TEMPLATE['custom']['tableRender'] = ''; + $PAGE_WRAPPER['profile']['CMENUIMAGE: template=profile'] = '{---}'; + $PAGE_TEMPLATE['profile'] = $PAGE_TEMPLATE['default']; + $PAGE_TEMPLATE['profile']['body'] = ' + {CPAGEMESSAGE} + {CPAGESUBTITLE} +
+ {CPAGENAV|default} + {SETIMAGE: w=320} + {CMENUIMAGE: template=profile} + {CPAGEBODY} +
+ {CPAGERATING} + {CPAGEEDIT} + '; diff --git a/e107_plugins/_blank/plugin.xml b/e107_plugins/_blank/plugin.xml index 1b6787f4e..35b2e73f2 100644 --- a/e107_plugins/_blank/plugin.xml +++ b/e107_plugins/_blank/plugin.xml @@ -26,5 +26,8 @@ - + + + Blank Images +