Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] [3.14-5] scan (one click search) in combination arg



******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******

On Wed, 31 May 2000, .c o r y . t r e s e. wrote:
> ******    message to minivend-users from ".c o r y . t r e s e." <digital@specialty-books.com>     ******
> 
> At the time of Wed, 31 May 2000, Dan Busarow wrote about Re: [mv] [3.14-5] scan (one click search) in combination arg:
> >******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******
> >
> 
> GOAL:
> >> 1. a search in the "scan" format
> >> 2. an argument.  just one little argument ;)
> >
> >[set mv_put_session]Yes[/set]
> >
> >I just checked and [data session arg] is available in a scan
> >page.
> >
> 
> Could you send me those pages, please?
> 
> I placed [set mv_put_session]Yes[/set] on my catalog.html page.  This is the
> page where I have the hard-coded link for the search/arg test.  This does not
> seem to have any effect (i have also tried adding [tag flag build][/tag] as
> mentioned in the list-archives in a post mentioning [set
> mv_put_session]Yes[/set].)

The [set mv_put_session]Yes[/set] needs to be in your scan results
page, results.html or sp=...

Here's the top of a page where I use this

[include pages/header]

[comment]
following is special and required for scratch variables
to stick when used on search pages.
[/comment]
[set mv_put_session]Yes[/set]

[perl arg=scratch interpolate=1]
$oldcat = $Safe{'scratch'}->{'subcat'};
$a = "[value-extended name=mv_searchspec]" || $oldcat;
$Safe{'scratch'}->{'subcat'} = $a;
return "";
[/perl]

<b>[data session arg]</b>

I'm using mv_put_session so I can store mv_searchspec, I just added a
<b>[data session arg]</b> to the page to test your case. I added an
argument to the url and the argument displayed on the results.

> Even with this set I am still getting the same error.  The "Bad Search
> Specification" indicates that it cannot open a file in the catalogs tmp/
> directory.  The file it is looking for ends in a ":1"  

The sample url you included didn't have a searchspec.  My search works
and displays the session arg.  Snippet from the generated html

CENTER>
<IMG SRC="http://www.buildersshow.com/storelogo.gif"; WIDTH=510 HEIGHT=97 BORDER=0><BR><BR>
<IMG SRC="http://www.buildersshow.com/storeheading.gif"; ALT="Welcome to Builders' Show Seminar Store" WIDTH=600 HEIGHT=50 BORDER=0><BR>
</CENTER>

<b>coreytrese</b>

<blockquote>
<STRONG><FONT SIZE=+2 COLOR="#FF0000" FACE="ARIAL, HELVETICA, SANS-SERIF">
 
</FONT></STRONG><BR>

1-20 of

150
items.
<P>

Try it yourself, 
http://store.buildersshow.com/cgi-bin/nahb/scan/fi=products/st=sql/ \
    sf=subcategory/se=1/tf=description/ml=20/sp=items2?;coreytrese;


> Thanks for your help (looking forward to more of it ;)

You're welcome, hope this helps.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

-
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


Search for: Match: Format: Sort by: