Rename variable to cms_search_query.

Updated code to use CMS_RESPONSE.set_value, to set the value instead of
CMS_HOOK_VALUE_TABLE_ALTER
This commit is contained in:
jvelilla
2017-02-08 15:00:00 -03:00
parent bb3e2abf55
commit 09b5cc752c
2 changed files with 2 additions and 30 deletions

View File

@@ -42,7 +42,7 @@
<div class="col-md-2 col-md-offset-9">
<form action="{$site_url/}gcse" class="search-form" id="gcse_search_form">
<div class="form-group has-feedback">
<input type="search" class="form-control" name="q" id="gcse_search" placeholder="search" value="{$google_search/}" >
<input type="search" class="form-control" name="q" id="gcse_search" placeholder="search" value="{$cms_search_query/}" >
<span class="glyphicon glyphicon-search form-control-feedback"></span>
</div>
</form>