$this->_video();
}
+ // check if define for GLM_SEARCH is set
// check if define for GLM_SEARCH is set
if (defined("GLM_SEARCH")
&& GLM_SEARCH
) {
$this->glmSearch = GLM_SEARCH;
+ $this->glmSearchIndex = GLM_SEARCH_INDEX;
$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;
+ $this->searchFormActive = true;
// Check if GLMSearch page called
if ($_REQUEST['GLMSearch'] == 'true') {
$this->isHomePage = false;
glmsearch.site = "www.gaylordgolfmecca.com"
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
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->filterValue);
/**
* Site has home page Headlines?
*/
<a href="{homePageUrl:h}"><img src="{mediaBaseURL:h}assets/logo.png"></a>
</div>
<div class="medium-4 large-3 columns show-for-medium-up right">
- <div id="search_wrapper" class="small-12 columns">
- <form action="#" id="searchForm" name="searchForm" method="post" flexy:ignore="yes">
+ <div id="search_wrapper" class="small-12 columns" flexy:if="searchFormActive">
+ <form action="{homePageUrl:h}" id="searchForm" name="searchForm" method="post" flexy:ignore="yes">
<input type="hidden" name="GLMSearch" value="true">
<input type="hidden" name="start" value="0">
<input type="hidden" name="rows" value="10">