21293 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 862 Views |
-
Search Results Page

24 May 2009 at 4:57pm
Hey,
I am using the default search functions in Page.php. I created a results page using the Page type, but when I submit the form, it is supposed to render the Page_results.ss instead of Page.ss.
return $this->customise($data)->renderWith(array('Page_results', 'Page'));
...But it's not. It's just using Page.ss. Do I need to create a new Page type for the results page, or should it work the way I am assuming it should work..?
-
Re: Search Results Page

24 May 2009 at 5:08pm
Disregard this, I'm an idiot. i was pointing my custom form to /results instead of /results/SearchForm.
| 862 Views | ||
|
Page:
1
|
Go to Top |

