Re: Trying to append from within a single template file

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61525
interpreted = N
texte = I do it as so: On index.tpl:
rest of form
[showif [didsubmit]=T] [append db=.....] [/showif] GJK At 04:28 PM 3/23/2005, you wrote: >Hi, >I want to do a basic "Subscribe to our email newsletter" append on a >single page, for example: >
> >
>
>href="index.tpl? >command=append&db=subscribers.db&subscribedate=[date]&subscriberemail=[_ >_subscriber]">Subscribe to our newsletter > >But this pops up an authentication dialog box, "To view this page, you >need to log in to area "Unauthorized User" on www.myserver.com" > >Can I do this, get data from and return to the same page, or do I need >to return to a different page? And can I mix and match form and >hyperlink in this way---doesn't feel quite right. But I see this kind >of "quick subscribe" box on a lot of sites, so I assume there must be a >way to do it. > >Thanks for any help, > >Kevin Lippert ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Trying to append from within a single template file ( Kevin Lippert 2005)
  2. Re: Trying to append from within a single template file ( Gary Krockover 2005)
  3. Re: Trying to append from within a single template file ( Gary Krockover 2005)
  4. Re: Trying to append from within a single template file ( Stuart Tremain 2005)
  5. Trying to append from within a single template file ( Kevin Lippert 2005)
I do it as so: On index.tpl:
rest of form
[showif [didsubmit]=T] [append db=.....] [/showif] GJK At 04:28 PM 3/23/2005, you wrote: >Hi, >I want to do a basic "Subscribe to our email newsletter" append on a >single page, for example: >
> >
>
>href="index.tpl? >command=append&db=subscribers.db&subscribedate=[date]&subscriberemail=[_ >_subscriber]">Subscribe to our newsletter > >But this pops up an authentication dialog box, "To view this page, you >need to log in to area "Unauthorized User" on www.myserver.com" > >Can I do this, get data from and return to the same page, or do I need >to return to a different page? And can I mix and match form and >hyperlink in this way---doesn't feel quite right. But I see this kind >of "quick subscribe" box on a lot of sites, so I assume there must be a >way to do it. > >Thanks for any help, > >Kevin Lippert ------------------------------------------------------------- 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://webdna.smithmicro.com/ Gary Krockover

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:

Re:How to Display text in empty fields (1997) I am dumb. No see [variable] (2003) Wanted: Broader string manipulation functions (1997) Grant, please help me ... (1997) can you take a look (2003) WebCat2b15MacPlugin - showing [math] (1997) Dubble Sku's in a Database (1999) Blog/social networking shortcut (2007) Webcat & SIMS (1998) emailer (1997) Execute Applescript (1997) HELP WITH DATES (1997) Copyright ? (1997) [WebDNA] Proper use of [spawn]? (2009) Number of Line Items (1998) WebCommerce: Folder organization ? (1997) Manual and Mime WebDNA 5 (2003) Re:2nd WebCatalog2 Feature Request (1996) WebCatalog as a ListServ (1998) autosensing lanague selection (1997)