MiniVend Akopia Services

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

Re: Random item teasers?



Err, I'm afraid that's not quite what I want, or at least from what you
said... I want a way for X unique, random items from the database to be
selected and displayed. And I want them to be displayed thus:

<table>
   <tr>
      <td>ITEM1</td>
      <td>ITEM2</td>
   </tr>
   <tr>
      <td>ITEM3</td>
      <td>ITEM4</td>
   </tr>
</table>

Is this do-able?


On Wed, 23 Jun 1999, Ryan Hertz wrote:

> ******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******
> 
> 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
> -
> 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: