started base home back btn
This commit is contained in:
parent
7ad1f5dc67
commit
ace9de07e2
@ -592,6 +592,14 @@ function materio_search_api_search_form($form, &$form_state){
|
|||||||
$default_value = '';
|
$default_value = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// add a back tu search/base home bouton if on explore/foo
|
||||||
|
// if ($path == 'explore') {
|
||||||
|
// $form['actu'] = array(
|
||||||
|
// '#type' => 'markup',
|
||||||
|
// '#markup' => '<a href="/actuality"><i class="fi-home"></i></a>'
|
||||||
|
// );
|
||||||
|
// }
|
||||||
|
|
||||||
$form['searchfield'] = array(
|
$form['searchfield'] = array(
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#default_value' => $path == 'explore' ? $keys : $default_value, // TODO: set the search page path global or a variable in settings
|
'#default_value' => $path == 'explore' ? $keys : $default_value, // TODO: set the search page path global or a variable in settings
|
||||||
@ -1049,4 +1057,3 @@ function materio_search_api_block_view_alter(&$data, $block) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user