From 092ee0766346aa0422aa116cd141af581c85be04 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 27 Mar 2019 14:49:46 -0400 Subject: [PATCH] Update with woobox code Adding to only woobox page id 71 --- Toolkit/Page.php | 5 +++++ templates/template.html | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/Toolkit/Page.php b/Toolkit/Page.php index 67ac2b7..2f81c98 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -690,6 +690,11 @@ class Toolkit_Page $this->_getFeaturedVideo(); } + $this->wooboxPage = false; + if ( $this->_catid == 71 ) { + $this->wooboxPage = true; + } + } /** diff --git a/templates/template.html b/templates/template.html index cf01ad2..9219099 100755 --- a/templates/template.html +++ b/templates/template.html @@ -72,6 +72,19 @@ + {if:wooboxPage} + +
+ + {end:}