[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] loop in loop !!!
OkI explain with more details.
In my prodycts database, i have two kind of products:
- Music album
- Music single
It could be 10 singles in one album.
Then I've made a column (in the database) call "morceaux" in wich one you'll
find the skus of single separate by ",".
Here is an example:
sku title morceaux
FRE001X dede FRE001a,FRE001b
FRE001a sasa
FRE001b gugu
When users called the flypage for products FRE001X, i like to display:
flypage for FRE001X
***************************
*title FRE001X: dede *
* *
*songs in dede: *
* - sasa *
* - gugu *
* *
***************************
HELP wil be really very very helpfull.
Thanks
oulala
-----Message d'origine-----
De : interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]De la part de Ed
LaFrance
Envoyé : mercredi 6 février 2002 18:03
À : interchange-users@interchange.redhat.com
Objet : Re: [ic] loop in loop !!!
At 01:55 PM 02/06/2002 +0100, you wrote:
>Hello,
>here is the code who doesn't work but I think he shows good what
I'm looking
>for.
>
>Then when somebody can help me to find the good way, it will be very very
>helpfull;
>
> [loop list="[item-field morceaux]" delimiters="," interpolate=1]
> [loop prefix=un
> search"
> fi=products
> st=db
> ra=yes
> se=[loop-code]
> "]
> [un-description]
> [/loop]<br>
> [/loop]
>
>merci par avance
>
>oulala
"delimiters" should be "delimiter", interpolate=1 seems to serve no purpose
here, and the inner [loop search...] makes no sense at all. Perhaps you
should try your question again, and just try to describe what you want to
do clearly.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users