Re: Get current URL with Variables

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62735
interpreted = N
texte = I was way over thinking this. This can be done by simply having a blank action on the form and including a hidden field that triggers the Add Item. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Eric Miller Sent: Thursday, August 04, 2005 11:30 AM To: WebDNA Talk Subject: Re: Get current URL with Variables Thanks for the reply guys. I didnt really give you all enough info on exactly what I am looking for. As you all know,in storebuilder when you add an item to your cart it sends you back to the default.tpl page to actually add the item. This is kinda clunky so I was going to copy the "Add item" code to the include pages and just submit each page back to itself. That way the user wont have to navigate back to wherever they were at it if there was multiple items on that page. I dont need the form data itself, I need the page, cart, id, startat,etc that the user was on when they added the item. Example: www.storename.com/default.tpl?cart=1123168407147694&id1=10&startat=1&--woSEC TIONSdatarq=10&--SECTIONSword=ww is the page the user is on. I am wanting to change functionality so that when the user clicks Add Item, the form comes back to this page(with all current parameters) and adds the item on this page. Thanks, Eric -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Kenneth Grome Sent: Thursday, August 04, 2005 11:04 AM To: WebDNA Talk Subject: Re: Get current URL with Variables On Aug 4, 2005, at 22:41, Daryl Mitchell wrote: > [ThusURL]?[formvariables][name]=[value]&[/formvariables] Actually this might be even better: [ThusURL]?[formvariables][name]=[url][value][/url]&[/formvariables] Sincerely, Kenneth Grome www.kengrome.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://webdna.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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Get current URL with Variables ( Daryl Mitchell 2005)
  2. Re: Get current URL with Variables ( "Eric Miller" 2005)
  3. Re: Get current URL with Variables ( "Eric Miller" 2005)
  4. Re: Get current URL with Variables ( Kenneth Grome 2005)
  5. Re: Get current URL with Variables ( Daryl Mitchell 2005)
  6. Get current URL with Variables ( "Eric Miller" 2005)
I was way over thinking this. This can be done by simply having a blank action on the form and including a hidden field that triggers the Add Item. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Eric Miller Sent: Thursday, August 04, 2005 11:30 AM To: WebDNA Talk Subject: Re: Get current URL with Variables Thanks for the reply guys. I didnt really give you all enough info on exactly what I am looking for. As you all know,in storebuilder when you add an item to your cart it sends you back to the default.tpl page to actually add the item. This is kinda clunky so I was going to copy the "Add item" code to the include pages and just submit each page back to itself. That way the user wont have to navigate back to wherever they were at it if there was multiple items on that page. I dont need the form data itself, I need the page, cart, id, startat,etc that the user was on when they added the item. Example: www.storename.com/default.tpl?cart=1123168407147694&id1=10&startat=1&--woSEC TIONSdatarq=10&--SECTIONSword=ww is the page the user is on. I am wanting to change functionality so that when the user clicks Add Item, the form comes back to this page(with all current parameters) and adds the item on this page. Thanks, Eric -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Kenneth Grome Sent: Thursday, August 04, 2005 11:04 AM To: WebDNA Talk Subject: Re: Get current URL with Variables On Aug 4, 2005, at 22:41, Daryl Mitchell wrote: > [ThusURL]?[formvariables][name]=[value]&[/formvariables] Actually this might be even better: [ThusURL]?[formvariables][name]=[url][value][/url]&[/formvariables] Sincerely, Kenneth Grome www.kengrome.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://webdna.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://webdna.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://webdna.smithmicro.com/ "Eric Miller"

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:

empty shopping cart message (1997) Preventing code execution (2003) emailer settings and control questions (1997) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) GoLive CyberStudio 1.0.1 (1997) WebCatalog NT beta 18 problem (1997) Concerning Emailer under Linux... does it exist? (2000) carriage returns in data (1997) [WebDNA] Snow Leopard and v7 (2011) Text data with spaces in them... (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) calculating tax rates, mail order solutions and version 2 (1997) Re:Emailer and encryption (1997) Help with [search] sort (2003) .tmp files (2000) Navigator 4.0 & tables (1997) [WebDNA] TCPConnect Slowness (2013) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) RE: OK, here goes... (1997) WebCat2b13 Command Reference Doc error (1997)