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:

NT or Mac (1998) Shopping Cart variation... (1997) HELP WITH DATES (1997) WebCat2b15MacPlugin - [protect] (1997) Cleaner URLs (2003) Most Efficiant Way to do restricted Areas (1997) image attachment (2002) [WebDNA] two ideas for running a cluster of WebDNA servers (2019) Global Function (2003) [WebDNA] Rewrite url (2013) WebCatalog Upgrade Pricing? (1997) Upgrading old WebCat Database Files (1997) Data Problem (2004) [addlineitems] display (1997) Emailer port change (1997) Hiding HTML and breaking the page (1997) Non expiring cookies again (*sorry*) (1999) RAM variables (1997) Bug or syntax error on my part? (1997) Multiple security dbs (1997)