Re: Search Command, multiple dbs, etc. --Right!
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30905
interpreted = N
texte = There are four ways that your [Image] can be used:1. Send a formvariable with that name, (ie People.tpl?Image=some.gif)2. Inside a founditems loop where the database searched has a field namedImage. My guess is that your database does not have a field with this exactname.3. Set a [math] variable on the page prior to using [Image].4. Set a [text] variable on the page prior to using [Image].Mike> Right. I realized your point as soon as I took a look at the contents> of my Author1 field: Firstname M.I. Lastname. Duh. I didn't get it> that the field value is substituted into the url, not the field name.> > Since you're up, could you look at this:> > Why doesn't the image load? The other fields [Biography][Text], etc,> load, but not the Image.> My browser reads the link as: Images/FitImages/[Image], or whatever.> It doesn't substitute the value of the Image field for the current> record in the people.db. I'm sure the image is there and everything is> cased and spelled right.> > Here's the code:> > [founditems]>
[Author1] | >
[Text] | >
[Biography] | > >
> >
SRC=Images/FitImages/[Image]>
> >
> >
> [/founditems]> [/search]> > > > Kenneth Grome wrote:>> >>> Thank you Kenneth. I'll try that next.>>> I read in the book about [url] context it sounded like it was only>>> necessary when spaces, percent sign, and other wierd characters were>>> present in the URL. I guess I missed something.>> >> No, you did not miss anything -- but how do you know for sure that>> the value of [Author1] will never have a space in it? Especially if>> you let someone else (like a website visitor) create that value?>> >> ================================>> Kenneth Grome, WebDNA Consultant>> 808-737-6499 http://webdna.net>> ================================>> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
There are four ways that your [Image] can be used:1. Send a formvariable with that name, (ie People.tpl?Image=some.gif)2. Inside a founditems loop where the database searched has a field namedImage. My guess is that your database does not have a field with this exactname.3. Set a [math] variable on the page prior to using [Image].4. Set a [text] variable on the page prior to using [Image].Mike> Right. I realized your point as soon as I took a look at the contents> of my Author1 field: Firstname M.I. Lastname. Duh. I didn't get it> that the field value is substituted into the url, not the field name.> > Since you're up, could you look at this:> > Why doesn't the image load? The other fields [Biography][text], etc,> load, but not the Image.> My browser reads the link as: Images/FitImages/[Image], or whatever.> It doesn't substitute the value of the Image field for the current> record in the people.db. I'm sure the image is there and everything is> cased and spelled right.> > Here's the code:> > [founditems]> [Author1] | > [text] | > [Biography] | > > > >
SRC=Images/FitImages/[Image]>
> >
> >
> [/founditems]> [/search]> > > > Kenneth Grome wrote:>> >>> Thank you Kenneth. I'll try that next.>>> I read in the book about [url] context it sounded like it was only>>> necessary when spaces, percent sign, and other wierd characters were>>> present in the URL. I guess I missed something.>> >> No, you did not miss anything -- but how do you know for sure that>> the value of [Author1] will never have a space in it? Especially if>> you let someone else (like a website visitor) create that value?>> >> ================================>> Kenneth Grome, WebDNA Consultant>> 808-737-6499 http://webdna.net>> ================================>> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Mike Davis
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:
[WebDNA] New Ownership for WebDNA! (2008)
Windows-user? (2000)
tax rate off by 1 cent (1997)
[WebDNA] Amazon EC2 (2009)
[TaxableTotal] - not working with AOL and IE (1997)
the dreaded unitShipCost (2003)
[SearchString] problem with [search] context (1997)
test (2001)
Using Cookie for client specific info? (1997)
Tab Charactor (1997)
Exclamation point (1997)
showif and cart (1997)
Web Delivery Page concept (1997)
Practice runs ? (1997)
Was: Variables not being passed *back* (2000)
[WebDNA] Still having problems (2008)
Need relative path explanation (1997)
email preferences on NT (1997)
Search design (1997)
setting a cookie for the whole server (2004)