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

Dan db@cyclonehq.dnsalias.net
Thu, 14 Dec 2000 15:55:42 -0800


Thanks a lot, Joachim, I really appreciate the help.  You've given me some
ideas ([seti] instead of [set]) and other things, but so far I still haven't
gotten it working.

I read somewhere in the documentation that [page] and [area] don't
interpolate.  Does this mean they don't interpolate at all, or they only
interpolate when you use the interpolate=1 parameter?  (I tried upper and
lower case, and they still didn't seem to interpolate my [loop] or [scratch]
tags on the se= field).

> [seti dummy][loop search="st=db/fi=favorites/se=[scratch
user_favorite]/sf=product_sku"][loop-data favorites product_sku]|[/loop]nada
> Test: [scratch dummy]<BR>
> and
>
>  [page scan INTERPOLATE=1
>   fi=products
>   sp=results
>   st=db
>   co=yes
>   sf=sku
>   se=[scratch dummy]
>  ]
>  Click here to see a list of your favorite products!
>  [/page]

I tried that, but the result I got was:
<A HREF=".../se=[scratch dummy.html">Click here to see a list of your
favorite products!</A>

So it looks like the [scratch dummy] didn't get interpolated either.  I had
previously tried the equivalent of what you suggested, except I used [set]
instead of [seti], and [set] didn't work either.


>  [page scan INTERPOLATE=1
>   fi=products
>   sp=results
>   st=db
>   co=yes
>   sf=sku
>   se="00004|00005|00011|nada"
>  ]
>  Click here to see a list of your favorite products!
>  [/page]
>
> and is that working?

It works perfectly.  When I click the link I get the above 3 products shown
just perfectly.

If there is any information that I'm not being forthright with enough, let
me know and I'll spill the beans the best I can.  I really appreciate the
peer-review type help.

Thanks again Joachim,

Dan Browning - danb@cyclonecomputers.com