Re: Damn actions/links......

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37775
interpreted = N
texte = You might want to try using the [url] context as explained in the HTML docs... >I have a .inc that calls a .tpl when a link is >clicked. The .inc contains a list of news headlines. >When one of news headlines are clicked it calls >a .tpl which should then show the headline plus the >full story. However the [showif] condition is never >entered because the link only sends the first word >of the headline. So if the headline is Barcelona win >only the word Barcelona is passed to the .tpl and of >course no [HEADLINE] field in the database has a value >called 'Barcelona' only 'Barcelona win' > >====the link in the .inc==== >//this is within a search context that returns just >the headlines from >//the db file, when it is clicked it should show the >full story >//this page is displayed fine > >href=headlines.tpl?action=View&HEADLINE=[HEADLINE]>[HEADLINE] > > >====what the address bar says when link is >clicked===== >//link headline=Barcelona win > >http://myserver/myfolder/headlines.tpl?action=View&HEADLINE=Barcelona > >====the condition in the .tpl===== > >[showif [action]=View] > >[search db=admin/news.db&eqHEADLINEdata=[HEADLINE]] > >//lots of formatting of tables etc..... > >any ideas why this is happening?????? > >____________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk >or your free @yahoo.ie address at http://mail.yahoo.ie > >------------------------------------------------------------- >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 > >Web Archive of this list is at: http://search.smithmicro.com/ =========================================================== Kenneth Grome & Associates US-International eCommerce Business Development Specialists Office: +6332 262-8164 Mobile: +63919 749-0060 For direct-dialed calls from the USA, please use 011 prefix ===========================================================------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Damn actions/links...... (Jesse Proudman (Lists Account) 2001)
  2. Re: Damn actions/links...... (Anup Setty 2001)
  3. Re: Damn actions/links...... (Daniel Smith 2001)
  4. Re: Damn actions/links...... (John Peacock 2001)
  5. Re: Damn actions/links...... (Kenneth Grome 2001)
  6. Damn actions/links...... (Laeg Ent. 2001)
You might want to try using the [url] context as explained in the HTML docs... >I have a .inc that calls a .tpl when a link is >clicked. The .inc contains a list of news headlines. >When one of news headlines are clicked it calls >a .tpl which should then show the headline plus the >full story. However the [showif] condition is never >entered because the link only sends the first word >of the headline. So if the headline is Barcelona win >only the word Barcelona is passed to the .tpl and of >course no [HEADLINE] field in the database has a value >called 'Barcelona' only 'Barcelona win' > >====the link in the .inc==== >//this is within a search context that returns just >the headlines from >//the db file, when it is clicked it should show the >full story >//this page is displayed fine > >href=headlines.tpl?action=View&HEADLINE=[HEADLINE]>[HEADLINE] > > >====what the address bar says when link is >clicked===== >//link headline=Barcelona win > >http://myserver/myfolder/headlines.tpl?action=View&HEADLINE=Barcelona > >====the condition in the .tpl===== > >[showif [action]=View] > >[search db=admin/news.db&eqHEADLINEdata=[HEADLINE]] > >//lots of formatting of tables etc..... > >any ideas why this is happening?????? > >____________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk >or your free @yahoo.ie address at http://mail.yahoo.ie > >------------------------------------------------------------- >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 > >Web Archive of this list is at: http://search.smithmicro.com/ =========================================================== Kenneth Grome & Associates US-International eCommerce Business Development Specialists Office: +6332 262-8164 Mobile: +63919 749-0060 For direct-dialed calls from the USA, please use 011 prefix ===========================================================------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Kenneth Grome

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:

[table] strange behaviour REAL solution (2003) Not reading blanks (1998) Trigger Output (2003) [isfile] ? (1997) (2003) WebCatalog for guestbook ? (1997) Help!!!! (1999) Nutscrape Doesn't Render Right (2002) Strange time in emails (2003) Listserver problem (1997) 4.0 upgrade pricing (2000) emailer (1997) Online reference (1997) Not really WebCat (1997) expired beta (1997) Regular expression to match email address (2003) URGENT: NO BUG, woFIELDdata & FIELDword=ww (2002) WebCat2 - Getting to the browser's username/password data (1997) using listfiles to build a database? more (2000) [WebDNA] Test - no messages since 9th of June 2009. (2009)