Changed the way search modules get integrated with the theme via a new region "search".
Improved current module for google search 2.0.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"gcse": {
|
||||
"cx":""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"gcse": {
|
||||
"search_engine_id":""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<form action="{$site_url/}gcse20" class="search-form" id="search-form">
|
||||
<div class="form-group has-feedback">
|
||||
<input type="search" class="form-control" name="q" id="search-query" placeholder="search" value="{htmlentities}{$cms_search_query/}{/htmlentities}" >
|
||||
<span class="glyphicon glyphicon-search form-control-feedback"></span>
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user