How can I move the advanced search into the left sidebar of my homepage? No one seems to have been able to give me an answer so far and I would really like to know how this can be done. Thankyou
1 Answer
Use following code in local.xml
to move advanced search to left side bar on home page.
<?xml version="1.0"?>
<layout version="0.1.0">
<cms_index_index>
<reference name="left">
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
</reference>
</cms_index_index>
</layout>
Hope this helps
-
-
1
-
It made it appear on the homepage. But now at the top there is breadcrumbs which say 'home/catalog advanced search' which I wouldn't like to happen and also when you search it just goes to 404 page not found– Oli TuckCommented Mar 22, 2016 at 12:11
-
Copy
catalogsearch/advanced/form.phtml
file in to your theme. and modify as per your requirements. Commented Mar 22, 2016 at 12:13 -
It is in my theme and it is identical to the original, the search isn't working– Oli TuckCommented Mar 22, 2016 at 12:13