Jump to content

Modifying search parameters, changes are not effecting HELP!


Recommended Posts

Hi,

i am using the standard classic template (default)

I want to change the search bar parameters such as , form action, placeholder, etc.

I have found the file:

themes/classic/modules/ps_searchbar/ps_searchbar.tpl

it contains the following:

<!-- Block search module TOP -->
<div id="search_widget" class="col-lg-4 col-md-5 col-sm-12 search-widget" data-search-controller-url="{$search_controller_url}">
	<form method="get" action="{$search_controller_url}">
		<input type="hidden" name="controller" value="search">
		<input type="text" name="s" value="{$search_string}" placeholder="{l s='Search our catalog' d='Shop.Theme.Catalog'}" aria-label="{l s='Search' d='Shop.Theme.Catalog'}">
		<button type="submit">
			<i class="material-icons search">&#xE8B6;</i>
      <span class="hidden-xl-down">{l s='Search' d='Shop.Theme.Catalog'}</span>
		</button>
	</form>
</div>
<!-- /Block search module TOP -->

 

But when i change this code, it does not effect my searchbar.

even when i delete this code, my searchbar still works. so i assume this is not the correct way to modify the search bar?

what is the correct file???


THANKS!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...