How To Add Advanced Search Link To Homepage Near By Search Box

Hi expers,

I am using version 4.2.4 and responsive greeny template. I want to add advanced search link nearby to search inputbox on the right side of it.

How can I put it?



Thank you.

I just created an HTML Block and added it to the header. The block's content is:

[html]



Advanced Search

[/html]
Apply your own CSS as needed.

in “design/themes/THEME/templates/common/search.tpl” after the code:



{capture name="search_input_id"}{$block.snapping_id}{/capture}






add this:

{__("advanced_search")}



after that clean up the template cache.

Thanks for sharing this method. I did work well.

[quote name='Magpie Don' timestamp='1429030648' post='211471']

I just created an HTML Block and added it to the header. The block's content is:

[html]



Advanced Search

[/html]
Apply your own CSS as needed.
[/quote]

Thanks for the answer.

[quote name='Damir (WSA-team)' timestamp='1429031058' post='211473']

in “design/themes/THEME/templates/common/search.tpl” after the code:



{capture name="search_input_id"}{$block.snapping_id}{/capture}






add this:

{__("advanced_search")}



after that clean up the template cache.

[/quote]

Hello I would like a latest version for HTML Block



thanking you

Please use the solution from post #3 + open the design/themes/YOUR_THEME/templates/views/products/search.tpl file and add



{if $search || $smarty.request.advanced_filter}
{assign var="_title" value=__("search_results")}
{assign var="_collapse" value=true}
{else}
{assign var="_title" value=__("advanced_search")}
{assign var="_collapse" value=false}
{/if}
{include file="views/products/components/products_search_form.tpl" dispatch="products.search" collapse=$_collapse}




after this line:


```php


```

Hi ecomLabs, when I apply this after post3 only price and product code etc are shown but my own features like author is not shown.

Also advanced search is collapsed how could I make it expanded? (I have deleted all the cache /var/cache/*)

Thank you.

[quote name='eComLabs' timestamp='1434100708' post='218512']

Please use the solution from post #3 + open the design/themes/YOUR_THEME/templates/views/products/search.tpl file and add



{if $search || $smarty.request.advanced_filter}
{assign var="_title" value=__("search_results")}
{assign var="_collapse" value=true}
{else}
{assign var="_title" value=__("advanced_search")}
{assign var="_collapse" value=false}
{/if}
{include file="views/products/components/products_search_form.tpl" dispatch="products.search" collapse=$_collapse}




after this line:


```php


```
[/quote]

Please replace:



{assign var="_collapse" value=true}




with



{assign var="_collapse" value=false}




to expand the search form. As for second question, please check answer in another thread