Re: [cart] not being interpreted inside [founditems]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14388
interpreted = N
texte = > >> Oh, yeah, the other reason [Cart] might not show up is if you're using> >>[include] files. The workaround is to specify the cart in the> >> include paramaters like so:> >>> >> [include file=Includes/RandomAd.inc&cart=[cart]]> >> >This is the case but now the template says it can not locate the include> >file. If I remove the &cart=[cart] from the include, the include file> >functions. Any thoughts?>> Yes. You're probably not putting the parameters in with names properly.>> [include fred.inc] <-- works because there is only one parameter, and>it's assumed to be the filename>> [include file=fred.inc&cart=[cart]] <-- works because there is more than>1 parameter, and they're both named properly file=xxx cart=yyy>> [include fred.inc&cart=[cart]] <-- *DOESN'T* work because when you don't>name the file parameter, it thinks it should look for an include file> named literally fred.inc&cart=cart. The error message you receive>should tell you this.>> Any time you have more than 1 parameter, you *must* name them otherwise>it gets confused.Ok. I now have the 'file=' in the include. (Thanks.) But the interpreted[cart] tag is still not showing up in the results of the include. (Thisincludes items in [founditems] and anchors in the Ads.db.)Thanks.Nathan HydeInternet ServicesCasady & Greeneemail: nh_is@casadyg.com, nhyde@mail3.casadyg.comweb page: http://www.casadyg.com
Associated Messages, from the most recent to the oldest:
> >> Oh, yeah, the other reason
[cart] might not show up is if you're using> >>
[include] files. The workaround is to specify the cart in the> >> include paramaters like so:> >>> >> [include file=Includes/RandomAd.inc&cart=
[cart]]> >> >This is the case but now the template says it can not locate the include> >file. If I remove the &cart=
[cart] from the include, the include file> >functions. Any thoughts?>> Yes. You're probably not putting the parameters in with names properly.>> [include fred.inc] <-- works because there is only one parameter, and>it's assumed to be the filename>> [include file=fred.inc&cart=
[cart]] <-- works because there is more than>1 parameter, and they're both named properly file=xxx cart=yyy>> [include fred.inc&cart=
[cart]] <-- *DOESN'T* work because when you don't>name the file parameter, it thinks it should look for an include file> named literally fred.inc&cart=cart. The error message you receive>should tell you this.>> Any time you have more than 1 parameter, you *must* name them otherwise>it gets confused.Ok. I now have the 'file=' in the include. (Thanks.) But the interpreted
[cart] tag is still not showing up in the results of the include. (Thisincludes items in
[founditems] and anchors in the Ads.db.)Thanks.Nathan HydeInternet ServicesCasady & Greeneemail: nh_is@casadyg.com, nhyde@mail3.casadyg.comweb page: http://www.casadyg.com
Nathan Hyde
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
no global [username] or [password] displayed ... (1997)
Possible solution to malformed pages in NN (2000)
RE: Missing contexts on NT (1997)
corrupted images (2002)
Pithy questions on webcommerce & siteedit (1997)
quantity minimum problem (1997)
Shopping Cart variation... (1997)
Need formum software... (2003)
Math Hell! (2000)
[item] appears after 'remove last item' ... (1997)
shocart strange behavior - ANSWER (1999)
New webdna.net host being considered ... (2004)
How to verify email address (1997)
select multiple (1997)
how do I delete 1 of 2 identical records? (2003)
Please post more "exceptions to the rules" ... (2005)
PCS Frames (1997)
ShowNext truncating passed variable?? (1997)
Nav. 4 probs with cart (1997)
bug in [SendMail] (1997)