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

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37776
interpreted = N
texte = Laeg Ent. wrote: > > 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'Look up the context [url] in the docs. See below for an example of usage.John> > ====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=[url][HEADLINE][/url]>[HEADLINE] ^^^^^ ^^^^^^-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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)
Laeg Ent. wrote: > > 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'Look up the context [url] in the docs. See below for an example of usage.John> > ====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=[url][HEADLINE][/url]>[HEADLINE] ^^^^^ ^^^^^^-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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/ John Peacock

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:

What file? (1997) Re1000001: Setting up shop (1997) service stop and restart (1997) Major bug report on rootbeer (1997) WebDNA module - Automated database archiving (1997) Linebreaks and [writefile] (2003) Custom Error Pages - what I've done (1998) Shownext never shows next...still (1997) carriage returns in data (1997) 2.0Beta Command Ref (can't find this instruction) (1997) acrobat -> wc (1998) Image Sizes (2003) Creating folders and deleting files (1997) 6.1 Patch - Form Data Back Button Issue (2006) WC2.0 Memory Requirements (1997) REDIRECT MULTIPLE RESULTS (2000) Searching for (field1 OR field2) AND field3 (2000) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) a search based on ^(contains) (1998) Emailer (1998)