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:

Range search (2003) Unable to append (2001) Listfiles and nothing found (2001) possible, WebCat2.0 and checkboxes-restated (1997) Which is Faster (1998) Hiding my Source Code with W* (2000) PIXO support (1997) template cache problem (1998) How To Install (2003) Search design (1997) Unexpected error (1997) I give up!! (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Limiting user access to .tmpl files (1997) Pithy questions on webcommerce & siteedit (1997) Passing values (1999) form image (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Download URL & access on the fly ? (1997) Was code to phantom spacing -- now BBEdit [!][/!] (2001)