Damn actions/links......
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37773
interpreted = N
texte = I have a .inc that calls a .tpl when a link isclicked. The .inc contains a list of news headlines.When one of news headlines are clicked it callsa .tpl which should then show the headline plus thefull story. However the [showif] condition is neverentered because the link only sends the first wordof the headline. So if the headline is Barcelona winonly the word Barcelona is passed to the .tpl and ofcourse no [HEADLINE] field in the database has a valuecalled 'Barcelona' only 'Barcelona win'====the link in the .inc====//this is within a search context that returns justthe headlines from//the db file, when it is clicked it should show thefull story//this page is displayed fine
[HEADLINE]====what the address bar says when link isclicked=====//link headline=Barcelona winhttp://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.ukor 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/
Associated Messages, from the most recent to the oldest:
I have a .inc that calls a .tpl when a link isclicked. The .inc contains a list of news headlines.When one of news headlines are clicked it callsa .tpl which should then show the headline plus thefull story. However the [showif] condition is neverentered because the link only sends the first wordof the headline. So if the headline is Barcelona winonly the word Barcelona is passed to the .tpl and ofcourse no [HEADLINE] field in the database has a valuecalled 'Barcelona' only 'Barcelona win'====the link in the .inc====//this is within a search context that returns justthe headlines from//the db file, when it is clicked it should show thefull story//this page is displayed fine[HEADLINE]====what the address bar says when link isclicked=====//link headline=Barcelona winhttp://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.ukor 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/
Laeg Ent.
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:
WebCat name recognition (1998)
XML WebDNA (2006)
how to deal with xml exported file (2007)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
duplicate items in cart (1998)
are YOU disallowing certain chars to be in user passwords? Why? (2000)
Ship Cost Calculated via Subtotal (1998)
WebCat2: Formulas.db question (1997)
Share Bulletin Board? (1998)
[WebDNA] HMAC-SHA1 Encryption (2013)
[WebDNA] v7 Stress Test and Strange Behaviour (2012)
I read the manual (2000)
Location of Webcat site in folder hierarchy (1997)
sort on categories (DBEdit) (2001)
WebCat2: Master Counter snippet (1997)
creates folders with AS (1997)
webcat, osx, and includes (2001)
Sending E-mail (1997)
I'm tired of all this! (2000)
Problem (1997)