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:
Re:2nd WebCatalog2 Feature Request (1996)
5.0 Pricing (2003)
How long until WebDNA makes the list? :( (2004)
Expert tech support -- a fast and simple solution (long) ... (2000)
all records returned. (1997)
Emailer again & again (1997)
Mozilla/4. and Browser Info.txt (1997)
Math (1997)
Where's Cart Created ? (1997)
japanese characters (1997)
Webstar 1.3.1 PPC (1997)
[ModDate] & [ModTime] ? (1997)
Re:trouble (1997)
WebCatalog 4.0.2b5 available (2000)
Autoreturn Submit? (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Database Access... (2000)
can WC render sites out? (1997)
Re:Running 2 two WebCatalog.acgi's (1996)
Hyperboard/bulletin board available (1998)