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:

Uploading out of FMP (2001) default value from Lookup (was Grant, please help me) (1997) how do we turn off staticpages page creation? (2003) Problem: 3.0 doesn't update carts (1997) [WriteFile] problems (1997) carriage returns in data (1997) [addlineitems] (1997) Is this possible, WebCat2.0 and checkboxes (1997) Sort Order on a page search (1997) page redirect in webDNA (1997) Search returns all, not 20 (1997) Re:Searching for ALL / empty form field *the FINAL answer* (1997) Search/sort in URL Was: GuestBook example (1997) Searching help needed (1998) sendmail spaces (1997) Server Slowdown (1999) possible, WebCat2.0 and checkboxes-restated (1997) WebCatalog for Postcards ? (1997) No Line Breaks from OSX server (2002) showif and cart (1997)