[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Can minivend go directly to flypage when the search returns onlyone item?
****** message to minivend-users from Birgitt Funk <birgitt@minivend.com> ******
On Tue, 16 Feb 1999, David Ekholm wrote:
> ****** message to minivend-users from "David Ekholm" <info@minivend.com> ******
>
> Is there an easy way to get minivend to go to the flypage for an item when
> the search returns only one item? For an example of what I'm referring to,
> try searching for a unique book on Amazon.com. This seems like an obvious
> option but I can't find it anywhere in the docs.
>
> I've tried to put my flypage code in the results page as in:
>
> [if value mv_search_match_count < 2]
>
> [search-list] (flypage stuff) [/search-list]
>
> [else]
>
> [search-list] (result page stuff) [/search-list]
>
> [/else][/if]
I don't know why you want to do that. Can't you simply search
for your item code (ISBN number) and define a separate search profile for
it ? This way you always have only one item as search result and your
result page for that kind of search has the same format as the
flypage.html.
For a search profile for an ISBN search look into mv_dict_look as the
mv_search_spec in the docs.
Right now, on his new MiniVend home page (looks great, BTW), one gets
only "File Not Found" messages. I assume Mike Heins hasn't had enough time
yet to shuffle everything to its correct location.
FILE NOT FOUND
http://www.minivend.com/minivend/docindex/10.12.Search_Reference
Birgitt Funk
-
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