Forum

Thread tagged as: Question

Runway Search, nothing happens?

Perch Runway: 3.0.14, PHP: 7.2.1, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (3.0.14), assets (3.0.14), categories (3.0.14), perch_blog (5.6.1), perch_events (1.9.5), perch_forms (1.10), perch_mailchimp (3.1), pipit_sharing (1.1.0)
App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_events', 'perch_forms', 'pipit_sharing', 'perch_mailchimp' ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /Users/Grant/Sites/119-Stokesley-Council/public/perch
PERCH_CORE: /Users/Grant/Sites/119-Stokesley-Council/public/perch/core
PERCH_RESFILEPATH: /Users/Grant/Sites/119-Stokesley-Council/public/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 8M, Memory: 128M, Total max file upload: 8M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: dev.stokesleytowncouncil.gov.uk
DOCUMENT_ROOT: /Users/Grant/Sites/119-Stokesley-Council/public
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

I am trying to implement search, I don't think I have done anything out of the norm?

I've used <?php perch_search_form(); ?> as my search feild. And updated the default search-form.html with <perch:form id="search" method="get" action="/search-results">.

My search-results.php has perch_content('Search Results'); which calls the default search-result.html which I moved to the content folder.

When I enter a search term, my search page loads. However no results are presented and the term is empty, only displaying "".

Thanks in advance for any help

Grant Smith

Grant Smith 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Great! Thanks as always Drew