[ic] [loop search=] inside a [page scan=]

Mike Heins mikeh@minivend.com
Fri, 15 Dec 2000 04:13:40 -0500


Quoting Dan (db@cyclonehq.dnsalias.net):
> Thanks for the response, Mike.  I read that FAQ already, but I probably
> didn't understand it because I still can't get it working.
> 
> > FAQ, I am surprised no one got this:
> >
> >     http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq05%2e07
> 
> [seti favorite_products][loop search="st=db/fi=favorites/se=[scratch
> user_favorite_type]/sf=favorite_type"][loop-data favorites
> product_sku]|[/loop]nada[/seti]
> [comment]This sets favorite_products to
> "771100|10325|10341|770001|nada"[/comment]
> 
> [page scan fi=products/sp=results/st=db/co=yes/sf=sku/se="[scratch
> favorite_products]"]Products that are your favorite type![/page]
> 
> The above still doesn't parse the [scratch].  I'm trying by putting quotes
> around the se= value.  Is that the correct way to quote a [scratch] tag
> inside a [page] tag?  FYI, I'm still using 4.6.1-release.

I must be doing something wrong in communicating this:

	[page href=scan
		arg="
			fi=products
			sp=results
			st=db
			co=yes
			sf=sku
			se=[scratch favorite_products]
		"]

There are *tons* of examples of this in the demo.

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

Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun