Akopia Akopia Services

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

Re: [mv] [data products title [scratch random]]



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

On 11 May, Cameron B. Prince wrote:
> ******    message to minivend-users from "Cameron B. Prince" <cbp@InternetExpertsLLC.com>     ******
> 
> Hi list,
> 
> Tonight I created a new Global sub that produces a random number from 001 -
> 008. These numbers represent skus/keys in my database.
> 
> I am trying to display one randomly on my index page using this:
> 
> [data products title [scratch random]]
> 
> When I load the page all I see is the one ] but [scratch random] alone works
> fine.
> 
> 
> Is there a proper way to use a scratch value inside of a data tag?

Try

[data table="products" column="title" key="[scratch random]"]

Regards,

	Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
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: