Akopia Akopia Services

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

Re: [mv] Loop search - sub-categories - error if only 1 result



Quoting Simon B (music@labyrinth.net.au):
> Minivend 3.15 - BSD - BerkleyDB
> 
> 
> I use a loop search on my results page to create a list of links to
> "sub-categories":
> 
> The way it works is that the customer clicks on "cables"
> The result page will show a list of all "cable" sub-categories.
> 
> 
> - scsi cables
> - audio cables
> - power cables
> 
> This works very well though the problem is that if there is only 1 result
> i.e. "scsi cables" the list is displayed like this:
> 
> -scsi
> -cables
> 
> and the links do not work as they should.
> Any ideas why this is happening?

This *should* be documented, but probably is not too well in 3.15,
which is highly orphaned at this point. 8-)

Try adding an lr=1 parameter to the loop tag.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman

_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://www.minivend.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: