From a12959e2139e7ba23f5031ff4fbedb534c359077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Arag=C3=B3n?= Date: Tue, 10 Apr 2018 17:19:32 -0500 Subject: [PATCH] Added the variable home_include in the tpl layout_2_col.tpl --- main/template/default/layout/layout_2_col.tpl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/main/template/default/layout/layout_2_col.tpl b/main/template/default/layout/layout_2_col.tpl index 58d99b7208..244130fe5b 100755 --- a/main/template/default/layout/layout_2_col.tpl +++ b/main/template/default/layout/layout_2_col.tpl @@ -23,6 +23,12 @@ {% endif %} + {% if home_include %} +
+ {{ home_include }} +
+ {% endif %} + {% block page_body %} {% include 'layout/page_body.tpl'|get_template %} {% endblock %} @@ -53,9 +59,13 @@ {% endif %} - {% include 'layout/hot_courses.tpl'|get_template %} + {% if section_name == 'section-campus' %} + + {% include 'layout/hot_courses.tpl'|get_template %} - {% include 'session/sessions_current.tpl'|get_template %} + {% include 'session/sessions_current.tpl'|get_template %} + + {% endif %} {% if plugin_content_bottom %}