Akopia Akopia Services

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

Re: [mv] [loop search="..."] and [no-match]



******    message to minivend-users from "Ed LaFrance" <edl@newmediaems.com>     ******

Cory -

[set no_match]1[/set]
[loop search="se=blah"]
  [set no_match][/set]
  [loop-code] [loop-field this]  [loop-field that]
[/loop]

[if scratch no_match]
  No matches were found.
[/if]

...I have not tried this, but I would imagine that it should work.  
no_match should be true if the loop search returns no results, so your "no 
match" block would be displayed.  Otherwise it will be skipped, and the 
[loop...][/loop] block displayed instead.

- Ed L.


> ******    message to minivend-users from ". c . o . r . y .  t . r . e . 
s . e" <digital@frognet.net>     ******
> 
> 
> Most Honored List,
> 
> Is their anyway to use both a [loop search="..."] in page search as well 
as
> something similar (at least in effect) to the [no-match] tag (avaliable 
within
> a [search-list] container.)
> 
> TFYH,
> 
> cory trese
> digital@{specialty-books.com, frognet.net};
> W: 800 466 1365 ext223]
> H: 740 592 4493
> -
> 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
> 
> 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          edl@newmediaems.com
Placerville, CA  95667         http://www.newmediaems.com
(530) 622-9421                 (530) 622-9426 fax
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-
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: