[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Remembering mv_searchspec (Was: Re: Thanks a lot!)
****** message to minivend-users from "Hans-Joachim Leidinger" <hans-joachim.leidinger@home.gelsen-net.de> ******
Hello Frank,
can i use this solution with mv_searchspec_map ??? My mv_searchspec_map
has 5 searchfields and some condition (coordinate, searchtype, etc.).
Joachim
>****** message to minivend-users from Frank Miedreich
<miedreich@acm.org> ******
>
>Hi Gideon,
>
>I am sending question and answer to the list, as other people might
find
>this useful.
>
>>Dear Frank,
>>
>>Thanks a lot for helping me out with the small, but annoying problem
with
>>the [more-list].
>>You seem to be quite an expert, so I was wondering if you could help
me out
>>one last time.
>>As a header, for my search-result page I use this:
>>
>>[if value mv_search_match_count > 0]
>> Search results for [value mv_searchspec][/if]
>> [no-match]
>> No Match Found
>> [/no-match]
>>
>>This works fine, as long as there is only one page with results. As
soon as
>>you go to a next-page, the header says: "Search results for". Minivend
>>leaves out the search-specification value.
>>
>>Is there any way to solve this ?
>>
>>Thanks again,
>>
>>-Gideon
>
>Sure.
>
>Put the following stuff on your searchpage:
>
>[set search values]
>[value name="searchterm" set="[value mv_searchspec]"]
>[/set]
>
>and include:
>
><INPUT TYPE="hidden" NAME="mv_check" VALUE="search values">
>
>in your search definition.
>
>this will allow you to display [value searchterm] on all subsequent
result
>pages.
>
>As an added extra you get the option to let users edit their searchterm
on
>subsequent searches by setting mv_searchspec with:
>
><INPUT TYPE="Text" NAME="mv_searchspec" VALUE="[value searchterm]">
>
>This way they can conveniently correct a search when they dicover a
simple
>typo.
>
>
>A second solution is setting a scratch var or value on the result page,
if
>mv_searchspec is not empty. Display that variable. Same effect.
>
>
>Greetings, Frank
>
>
>--
>Dual rounds of ROT-13 encryption discontinued. Somebody was able to
crack this.
>Frank Miedreich
>Max-Planck-Institut fuer psychologische Forschung
>
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message. Instead,
send
>email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
>Archive of past messages:
http://www.minivend.com/minivend/minivend-list
>
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list