Akopia Akopia Services

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

Re: [mv] value weirdness in 3.14-5



******    message to minivend-users from jojo@buchonline.net     ******

On  1 Feb, Charles Miller wrote:
> ******    message to minivend-users from Charles Miller <cmiller@q-net.net.au>     ******
> 
> I've got a search page that takes two searchspecs, and I can't find any
> way to retrieve the values of those specs reliably in the target page.
> 
> The relevant bits of the search: [area scan mp=thumbs/se=8/se=4]
> 
> __NAME__ thumbs
> 
> mv_matchlimit=500
> mv_search_page=thumbnails
> mv_exact_match=yes
> mv_search_field=Gallery
> mv_search_field=Room
> mv_coordinate=yes
> 
> __END__
> 
> 
> On the results page, the following all return nothing:
> 
> [value-extended name=mv_searchspec index=0]
> [value-extended name=mv_searchspec index=1]
> [value-extended name=mv_searchspec joiner="foo" index=*]
> 
> [value name="mv_searchspec"] returns 8 when not inside another tag.
> 
> And now the weird bit.
> 
> [area href=scan arg="mp=gallery/se=[value name=mv_searchspec]"]
> 
> returns an HREF to "/scan/mp=gallery/se=8__NULL__4"
> 
> So the 4 is hiding in there somewhere, but it only reappears in certain
> circumstances, and by the time it's appeared there, it's too late to make
> any real use of it.
> 
> Any clues?
> 
> Charles Miller

Did you test "last_search.html"?

--------snipp-------
[if session last_search]
    [set name=arg interpolate=1][data session last_search][/set]
[else] 
    [set name=arg]/[/set]
[/else]
[/if]
--------snipp-------

Regards,

	Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen         FAX: 0209 1671449

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