[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Random item teasers?
At 07:09 PM 6/23/99 , JFox MiniVend list wrote:
>I'm afraid the docs didn't prove very useful. I found the [random] tag
>very quickly, but nowhere in the documentation did it tell me how to
>produce a group of X _unique_, random items. Something like...
Then perhaps the [rotate] tag would be more your style... it won't show
you the same image twice. (that is, until it rolls over)...
From your catalog.cfg :
########### Rotate
##
## Default: blank
#
# Rotating messages 0 to 15, specified with a Vend-style filename, i.e. no
# .html suffix, (even though the file will have one), relative to the MiniVend
# page directory. Called by the [rotate] tag. IF YOU CHANGE THEM, THEY WON'T
# TAKE EFFECT UNTIL A RESTART.
#
Rotate rotate1 rotate2 rotate3 rotate4 rotate5
These are file names (rotate1.html) in your catalog's pages dir. Putting
a [rotate] tag inside a page will have MV fetch that particular MV/HTML
page snippet and replace the tag with it.
It isn't super-easy to start, as your 'featured item' would have to be
coded into the rotate1.html page. Mine contain something like this:
[page 70-SPECIAL]<IMG SRC="ad.rotate.grubguard.jpg" HEIGHT=156 WIDTH=156
ALT="Grub Guards"></A>
Where the IMG is a mini advertisement for the product.
>
>[randomlist iterations=3]
>(blah blah blah HTML code here)
>[/randomlist]
>
>much like
>[item-list]
>(blah blah blah HTML code here)
>[/item-list]
>
>would be very much appreciated...
>
>On Wed, 23 Jun 1999, Ryan Hertz wrote:
>
>> ****** message to minivend-users from Ryan Hertz
<rhertz@gyb.baits.com> ******
>>
>> At 02:24 PM 6/23/99 , JFox MiniVend list wrote:
>> >****** message to minivend-users from JFox MiniVend list
>> <jfox-mv@thewebunion.com> ******
>> >
>> >Hey all,
>> >
>> > What'd be an easy way to produce random teasers (i.e. random item
>> >listings) for just a few random (and unique!) items in a large database?
>> >I.e. I have a store containing thousands of, say, records, and I want a
>> >random four to show up as ads...
>>
>> You mean, other than the [random] tags?
>>
>> >
>> >-
Ryan Hertz tel 520-645-3812
Webmaster tel 800-645-BAIT
Advertising Director fax 520-645-2588
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com