Akopia Akopia Services

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

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



On 14 Dec, Dan wrote:
[DEL]
> no, I didn't use [seti dummy.html], I did [seti dummy].
> 
[DEL]

>     CODE:
> [seti user_favorite_type]2[/seti]

OK!

[DEL]
>     CODE:
> [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]

OK!

[DEL]
>     CODE:
> [page scan fi=products/sp=results/st=db/co=yes/sf=sku/se=[scratch
> favorite_products]]Products that are your favorite type![/page]
                   ^^
                   Not OK!

[DEL]

-----snip output----------
Quick test with ...construct/products/cat.txt:
code sel name....
1 1 Picks & Hatchets....
2 6 Paintbrushes......
3 6 Rollers........
4 5 Toolboxes......
5 2 Rulers.....
6 1 Brushes.......
7 2 Tape Measures.....
8 1 Hammers.....
and so on...


Test user_favorite_typ:2

Test favorite_products:Rulers Tape Measures Squares Levels nada


Test to get all stuff from products:
Products that are your favorite type! <--- This is a link!
-----snip output----------

---------snipp from results page--------
Folding Ruler...
Tape Measure...
Big L Carpenters Square...
24" Level...
---------snipp from results page--------

codes:
-------------snip--------------
<HTML>
<HEAD>
<TITLE>MY QUICK TESTPAGE</TITLE>
</HEAD>
<BODY>
Test with ....construct/products/cat.txt:<BR><BR>
code	sel	name....<BR>
1	1	Picks & Hatchets....<BR>
2	6	Paintbrushes......<BR>
3	6	Rollers........<BR>
4	5	Toolboxes......<BR>
5	2	Rulers.....<BR>	
6	1	Brushes.......<BR>	
7	2	Tape Measures.....<BR>	
8	1	Hammers.....<BR>
and so on...<BR><BR>
<BR>
[seti user_favorite_typ]2[/seti]
Test user_favorite_typ:[scratch user_favorite_typ]<BR><BR>

[seti favorite_products][loop search="
                                       st=db
                                       fi=cat
                                       sf=sel
                                       se=[scratch user_favorite_typ]
                         "][loop-data cat name] [/loop]nada[/seti]

Test favorite_products:[scratch favorite_products]<BR><BR>
<BR>
Test to get all stuff from products:<BR>
<A HREF="[area href="scan" arg="fi=products/st=db/sf=category/os=yes/se=[scratch favorite_products]"]">Products that are your favorite type!</>
<P>
</BODY> </HTML>
-------------snip--------------

The "PIPE-Symbol" will not works!

I hope this helps!

Joachim
 
-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671441
45886 Gelsenkirchen         FAX: 0209 1671441


_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: