From: Laury GvR Date: Mon, 18 Aug 2014 15:37:26 +0000 (-0400) Subject: Search setup, still testing X-Git-Tag: V1.0^2~49 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d2b886dfff7bc892a349a1d442589bd911030e05;p=web%2FKeweenaw.git Search setup, still testing --- diff --git a/Toolkit/Page.php b/Toolkit/Page.php index f0f31bb..262647a 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -525,6 +525,8 @@ class Toolkit_Page $this->glmSearchSite = GLM_SEARCH_SITE; $this->glmSearchLogin = GLM_SEARCH_LOGIN; $this->glmSearchKey = GLM_SEARCH_KEY; + $this->glmSearchFilterType = GLM_SEARCH_FILTER_TYPE; + $this->glmSearchFilterValue = GLM_SEARCH_FILTER_VALUE; // Check if GLMSearch page called if ($_REQUEST['GLMSearch'] == 'true') { diff --git a/config/application.ini b/config/application.ini index 2278d8a..38ae377 100644 --- a/config/application.ini +++ b/config/application.ini @@ -66,10 +66,12 @@ google.search.application = Off ; Turn on Gaslight Media Search application On or Off glmsearch.application = On -glmsearch.index = "Index_1" -glmsearch.site = "demo.gaslightmedia.com" +glmsearch.index = "Development_1" +glmsearch.site = "dev53.gaslightmedia.com/www.keweenaw.info" glmsearch.login = "WebsiteServices" glmsearch.key = "829800701e8440b67a78e3afbefa1049" +glmsearch.filterType = Off +glmsearch.filterValue = Off ; Turn the home page headlines module On or Off for the toolbox headlines.application = Off diff --git a/setup.phtml b/setup.phtml index 97da28e..d8eceb2 100644 --- a/setup.phtml +++ b/setup.phtml @@ -412,6 +412,8 @@ define('GLM_SEARCH_INDEX', $applicationConfig->glmsearch->index); define('GLM_SEARCH_SITE', $applicationConfig->glmsearch->site); define('GLM_SEARCH_LOGIN', $applicationConfig->glmsearch->login); define('GLM_SEARCH_KEY', $applicationConfig->glmsearch->key); +define('GLM_SEARCH_FILTER_TYPE', $applicationConfig->glmsearch->filterType); +define('GLM_SEARCH_FILTER_VALUE', $applicationConfig->glmsearch->filterType); /** * Site has home page Headlines? */ diff --git a/templates/template.html b/templates/template.html index 66c2745..34c4a0b 100644 --- a/templates/template.html +++ b/templates/template.html @@ -34,15 +34,15 @@
  • eNews
  • Contact
  • - +
    - +