Re: Damn actions/links......
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37778
interpreted = N
texte = It would be a good idea to pass the ID number for yourHEADLINE or the NEWS article instead of passing theHEADLINE in your URL.Then you don't have to worry about [url] tag you can justsearch for the article using the ID number.RegardsAnup Setty----- Original Message -----From: Daniel Smith
To: WebCatalog Talk Sent: Friday, August 10, 2001 9:26 AMSubject: Re: Damn actions/links......> href=headlines.tpl?action=View&HEADLINE=[url][HEADLIN> E][/url]>[HEADLINE]>> [showif [url]This Is My> Headline[/url]=[HEADLINE]]something in here[/showif]> ------------------------------------------------------------> Daniel H. Smith> WebDeveloper/WebDesigner Extraordinaire> 914.669.1187> dsmith7@dsmith7.com> For the Skills Go To: www.dsmith7.com> For the Love Go To: www.danandsabrina.com> For the Read Go To: www.yeahbabe.org> ------------------------------------------------------------>>> ---------- Original Message ----------------------------------> From: Kenneth Grome > Reply-To: > (WebCatalog Talk)> Date: Fri, 10 Aug 2001 17:59:10>> >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=[HEADLIN> E]>[HEADLINE]> >>> >>> >>====what the address bar says when link is> >>clicked=====> >>//link headline=Barcelona win> >>> >>http://myserver/myfolder/headlines.tpl?action=View&HEA> DLINE=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/> >>>> __________________________________________________> D O T E A S Y - Join the web hosting revolution!> http://www.doteasy.com>> -------------------------------------------------------------> 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/-------------------------------------------------------------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:
It would be a good idea to pass the ID number for yourHEADLINE or the NEWS article instead of passing theHEADLINE in your URL.Then you don't have to worry about [url] tag you can justsearch for the article using the ID number.RegardsAnup Setty----- Original Message -----From: Daniel Smith To: WebCatalog Talk Sent: Friday, August 10, 2001 9:26 AMSubject: Re: Damn actions/links......> href=headlines.tpl?action=View&HEADLINE=[url][HEADLIN> E][/url]>[HEADLINE]>> [showif [url]This Is My> Headline[/url]=[HEADLINE]]something in here[/showif]> ------------------------------------------------------------> Daniel H. Smith> WebDeveloper/WebDesigner Extraordinaire> 914.669.1187> dsmith7@dsmith7.com> For the Skills Go To: www.dsmith7.com> For the Love Go To: www.danandsabrina.com> For the Read Go To: www.yeahbabe.org> ------------------------------------------------------------>>> ---------- Original Message ----------------------------------> From: Kenneth Grome > Reply-To: > (WebCatalog Talk)> Date: Fri, 10 Aug 2001 17:59:10>> >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=[HEADLIN> E]>[HEADLINE]> >>> >>> >>====what the address bar says when link is> >>clicked=====> >>//link headline=Barcelona win> >>> >>http://myserver/myfolder/headlines.tpl?action=View&HEA> DLINE=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/> >>>> __________________________________________________> D O T E A S Y - Join the web hosting revolution!> http://www.doteasy.com>> -------------------------------------------------------------> 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/-------------------------------------------------------------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/
Anup Setty
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:
Running _every_ page through WebCat-error.html (1997)
Setting up shop (1997)
Generating Report Totals (1997)
frames & carts (1997)
multiple selected Checkboxes (1998)
'does not contain' operator needed ... (1997)
Not really WebCat- (1997)
Ampersand Character (&) (1997)
Ampersand (1997)
NT or Mac (1998)
Multi-processor Mac info ... (1997)
WebCat2b15MacPlugin - showing [math] (1997)
WCf2 and nested tags (1997)
Frames and WebCat (1997)
Data Type Search Problem (2004)
Re:Email Problem (1997)
read and write you own cookies with webcat (1997)
FEW QUESTIONS (1997)
Serving images from databases (1998)
Practice runs ? (1997)