From 1a32f7d86c2cabe6768acf7d15a34cfd54c62780 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 2 Jul 2014 17:21:29 +0000 Subject: [PATCH] Add meta tag for reservation page This was recommended for the irm.net version used for reservations on the website. --- Toolkit/Page.php | 1 + templates/template.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Toolkit/Page.php b/Toolkit/Page.php index 4a0cd63..a317056 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -403,6 +403,7 @@ class Toolkit_Page */ public function fetchPage() { + $this->isReservationPage = ($this->_catid == 427); if (defined('MEMBERS_DB') && MEMBERS_DB) { // check to see if this page is a member only page $memberOnlyPage = Toolkit_Template_Page::isMemberOnly( diff --git a/templates/template.html b/templates/template.html index b086f06..30c05b5 100755 --- a/templates/template.html +++ b/templates/template.html @@ -4,6 +4,9 @@ {pageTitle:h} +{if:isReservationPage} + +{end:} -- 2.17.1