[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] mv_searchspec not retained accross [more-list]
Daniel,
I had the same problem After some considerable searching of the list, I found
the solution. I try to recap it now.
Put the following near the top of your results.html page:
[set mv_put_session]Yes[/set]
Then check and see if mv_searchspec has a value (if it does, you know this is
the first page of results) If it does, save the value as a scratch variable.
Here's my code:
[if value mv_searchspec ne ""]
[set name="search_string" interpolate="1"][value mv_searchspec][/set]
[/if]
Then, in your image reference, instead of using mv_searchspec directly, use
the scratch variable. as follows:
src=/images/[scratch search_string].gif
Make sense? Let me know if this doesn't work. It's been a while, and I may
have explained it wrong. :o)
Regards,
Rob Maurer
**********
In a message dated 11/15/99 4:33:01 PM Eastern Standard Time,
daniel@digitalsavant.com writes:
> Howdy,
>
> I'm sing the standard results.html to display search resutls. Setting mv_
> match_limit to 10. When a search yields more than 10 results, the
[more-list]
> is generated. Inside results.html I have an image tag with
src=/images/[value
> mv_searchspec].gif. Once a user selects the "next" link in the [more-list],
> mv_searchspec loses its value and I get a broken graphic in the page.
>
> One funkyness. This is how I'm conducting the search: (it's a one click
> category like search)
>