MiniVend Akopia Services

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

Re: sf=category/se=<stuff here> - how to show the sf on results page?!



Jason,

Try this:

.../va=fld=(insert field name here or mv tag)/se= ....


I use this to pass catagories and sub categories to results pages, on
the result page you can use [value fld] to get back your info

Here is a complex one I use to pass category, subcategory and
a second subcategory to a results page:

[page href=scan arg="va=cat=[item-field cat]
	/va=sub=[item-field subcat]/va=sub2=[item-field subcat2]
	/se=[item-field cat]/sf=4/se=[item-field subcat]/sf=5
	/se=[item-field subcat2]/sf=6/ml=5/co=yes/sp=results"]
[item-field subcat2]</a>

NOTE: the 'arg' line should be one line, I broke it apart just so it is
easier to read.

A snip from the results page:

<h5>[if value cat]
<b>Category:</b>
[page href=scan arg="va=cat=[value cat]/va=sub=/va=sub2=/se=[value 
cat]/sf=4/ml=5/sp=results"][value cat]</a><br>
[/if]

[if value sub] Subcategory: [page href=scan arg="va=cat=[value 
cat]/va=sub=[value sub]/va=sub2=/se=[value cat]/sf=4/se=[value 
sub]/sf=5/ml=5/co=yes/sp=results"][value sub]</a>
[/if]

[if value sub2] Subcategory 2: [value sub2]<br>[/if]

Again be carefull on line breaks.

Hope this helps,
Kyle

At 02:39 PM 6/30/99 +0000, you wrote:
>******    message to minivend-users from Jason Korkin <jkorkin@korksoft.com> 
>    ******
>
>Here is a neat little question...
>
>How can I show the sf= field from a one click search?  I know if you use
>[value mv_searchspec] it will return the se= portion of the URL... but I
>want to show something like:
>
>	Your search field <field here> and string [value mv_searchspec]...
>
>	Any ideas?  Scratch variables won't work here... as I'm coming in from
>non-mv based pages.  Also I'm running Mandrake Linux 5.3, Minivend 3.11,
>and Perl 5.05_57.
>
>	thanks in advance!
>
>	Jason.
>-- 
>
>Jason Korkin - jkorkin@korksoft.com
>KORKSOFT
>
>+1 (603) 472-8262
>http://www.korksoft.com
>Design, Hosting, Custom Programming, Database Mgt., E-Commerce
>-
>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


http://www.invisio.com 
Web site design, database driven sites,
and shopping cart programming. 
Great sites, value priced!



Search for: Match: Format: Sort by: