This topic is locked

list view with a pre-built search

7/4/2007 4:44:59 AM
PHPRunner General questions
K
kjp author

Bonjour
I have a list-results view, with "date" and "Lieu" fields.

(Guest level security)
I wish to display on a website (within an iframe)

this view but with a pre-search build

(minimum 2 parameters):

ex Date="2007" and Lieu="Biscarrosse"
I got this log (in a PhpEd)



"Client", "asearchfield[]=Lieu", "10:19:42", ""

"Client", "asearchopt_Lieu=Contains", "10:19:42", ""

"Client", "value_Lieu=Biscarrosse", "10:19:42", ""

"Client", "value1_Lieu=", "10:19:42", ""

"Client", "asearchfield[]=Date", "10:19:42", ""

"Client", "asearchopt_Date=Contains", "10:19:42", ""

"Client", "value_Date=2007", "10:19:42", ""

"Client", "value1_Date=", "10:19:42", ""

How do I pass the variables in the url?
or a way in PhpR?
I made a new custom view for that and test, but

I'm lost in the "events".
Thanks

J
Jane 7/4/2007

Hi,
you can do the following:

  • open generated templates/..._search.php file, find this code:
    <form method="POST"

and replace it with this one:

<form method="GET"


  • then open advanced search page, run your search and save resulting URL.

K
kjp author 7/4/2007

Many thanks!!