Akopia Akopia Services

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

Re: [mv]mv_searchspec



******    message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net>     ******

Mathew Jones schrieb:
> 
> ******    message to minivend-users from Mathew Jones <matjones@booksellersolutions.com>     ******
> 
> Hi,
> 
> I want specific ads to show up on my results page, depending on the search criteria passed
> from the search form.
> Is there a way I can call up the searchspec I used and only show the ad if that searchspec
> contains a certain value...
> I tried [if value mv_searchspec =~ /CA/i] --Ad--[/if]
> but this didnt work. ON the search page i am doing a coordinated search so there are many
> search variables...
> 
> hope you can help...

Try 

[seti searchkeys][value mv_searchspec][/seti]

( 
you didn't tell the MV Version
or try
[set name="searchkey" interpolate=1][value mv_searchspec][/set]
)

and

[if scratch searchkey =~....]

Joachim

-- 
-------------Hans-Joachim Leidinger---------------------


-
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: