cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced search not working on the other page

Advanced search not working on the other page

Hi guys! I'm trying to put-on on my HomePage and on the other Page the magento's advanced search. So the same advanced search form in mydomain/catalogsearch/advanced/ show up correctly the insert form instead on homepage or on the other custom page show up just a title and sub title "Catalog Advanced Search - Search Settings" and the search button.

17 REPLIES

Re: Advanced search not working on the other page

@vice83

 

check below the block

Mage_CatalogSearch_Block_Advanced_Form

comment the _prepareLayout function and check it

 

If work then mark as solution.

 

 

 

Re: Advanced search not working on the other page

No :/

Re: Advanced search not working on the other page

@vice83

 

issue with title right?

Re: Advanced search not working on the other page

so, the first photo shows up the advaced search in mydomain/catalogsearch/advanced/  (it wokrs); the second photo show up the same advaced search in mydomain/prova (doesn't work)

 

Senza titolo-1.jpgSenza titolo-2.jpg

Re: Advanced search not working on the other page

@vice83 image is not showing.

Re: Advanced search not working on the other page

@vice83

 

can i know that code? so i suggest where is wrong

 

Re: Advanced search not working on the other page

Sure, in order i followed these steps:
In
app/design/frontend/{package}/{theme}/template/catalogsearch/advanced/
I copied file form.phtml from app/design/frontend/base/template/catalogsearch/advanced/.
Replace
<form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
with
<form action="<?php echo $this->getUrl('catalogsearch/advanced/result') ?>" method="get" id="form-validate">
I Add this to on my page content.
{{block type="core/template" template="catalogsearch/advanced/home_form.phtml"}}
You need the form.phtml content?

Re: Advanced search not working on the other page

@vice83

 

please add into xml 

 

 <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>

if it will solve your problem then mark as solution.