Re: [WebDNA] [redirect] include a value to pass along?
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105681
interpreted = N
texte = This is a multi-part message in MIME format.--------------020902010201050702080606Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitMatt,This works great too plus it is using [url] only once as you mention.Thanks!StevePsi Prime Inc, Matthew A Perosi wrote:> This is how I do it:>> [redirect url=edit.tpl[url]?SKU=[_SKU]&ACTION=new[/url]]>> I saw that on someone's post years ago on the Talk list and was > surprised by the first [url] before the ? and then the [/url] at the > end. When using this method I also must use the "url=" otherwise it > does not work.>> Only recently did I discover that> [redirect url=edit.tpl?SKU=[url][_SKU][/url]&ACTION=[url]new[/url]]> also works for me, but why bother having all those extra [url] > processing ticks?>> Matt Perosi>> On 7/29/2010 1:17 PM, Steve Raslevich wrote:>> Hi everyone,>>>> Is there a way to pass a value within [redirect]?>>>> I've tried the following syntax however it is not passing the value >> set in the variable ACTION.>>>> [redirect path=edit.tpl?SKU=[_SKU]&ACTION=new]>>>>>> Thanks,>> Steve>> >> -- > Matthew A Perosi> Computer Engineer> Senior Web Developer> SEO Analyst & Educator>> Psi Prime, Inc.> 323 Union Blvd.> Totowa, NJ 07512>> Service: 973.413.8213> Training: 973.413.8214> Fax: 973.413.8217>> http://www.psiprime.com--------------020902010201050702080606Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit
Matt,
This works great too plus it is using [url] only once as you mention.
Thanks!
Steve
Psi Prime Inc, Matthew A Perosi wrote:
This is how I do it:
[redirect url=edit.tpl[url]?SKU=[_SKU]&ACTION=new[/url]]
I saw that on someone's post years ago on the Talk list and wassurprised by the first [url] before the ? and then the [/url] at theend. When using this method I also must use the "url=" otherwise itdoes not work.
Only recently did I discover that
[redirect url=edit.tpl?SKU=[url][_SKU][/url]&ACTION=[url]new[/url]]
also works for me, but why bother having all those extra [url]processing ticks?
Matt Perosi
On 7/29/2010 1:17 PM, Steve Raslevich wrote: Hi everyone,
Is there a way to pass a value within [redirect]?
I've tried the following syntax however it is not passing the value setin the variable ACTION.
[redirect path=edit.tpl?SKU=[_SKU]&ACTION=new]
Thanks,Steve
-- Matthew A PerosiComputer EngineerSenior Web DeveloperSEO Analyst & EducatorPsi Prime, Inc.323 Union Blvd.Totowa, NJ 07512Service: 973.413.8213Training: 973.413.8214Fax: 973.413.8217http://www.psiprime.com
--------------020902010201050702080606--
Associated Messages, from the most recent to the oldest:
This is a multi-part message in MIME format.--------------020902010201050702080606Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitMatt,This works great too plus it is using
[url] only once as you mention.Thanks!StevePsi Prime Inc, Matthew A Perosi wrote:> This is how I do it:>> [redirect url=edit.tpl
[url]?SKU=[_SKU]&ACTION=new[/url]]>> I saw that on someone's post years ago on the
Talk List and was > surprised by the first
[url] before the ? and then the [/url] at the > end. When using this method I also must use the "url=" otherwise it > does not work.>> Only recently did I discover that> [redirect url=edit.tpl?SKU=
[url][_SKU][/url]&ACTION=
[url]new[/url]]> also works for me, but why bother having all those extra
[url] > processing ticks?>> Matt Perosi>> On 7/29/2010 1:17 PM, Steve Raslevich wrote:>> Hi everyone,>>>> Is there a way to pass a value within
[redirect]?>>>> I've tried the following syntax however it is not passing the value >> set in the variable ACTION.>>>> [redirect path=edit.tpl?SKU=[_SKU]&ACTION=new]>>>>>> Thanks,>> Steve>> >> -- > Matthew A Perosi> Computer Engineer> Senior Web Developer> SEO Analyst & Educator>> Psi Prime, Inc.> 323 Union Blvd.> Totowa, NJ 07512>> Service: 973.413.8213> Training: 973.413.8214> Fax: 973.413.8217>> http://www.psiprime.com--------------020902010201050702080606Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit
Matt,
This works great too plus it is using [url] only once as you mention.
Thanks!
Steve
Psi Prime Inc, Matthew A Perosi wrote:
This is how I do it:
[redirect url=edit.tpl[url]?SKU=[_SKU]&ACTION=new[/url]]
I saw that on someone's post years ago on the Talk List and wassurprised by the first [url] before the ? and then the [/url] at theend. When using this method I also must use the "url=" otherwise itdoes not work.
Only recently did I discover that
[redirect url=edit.tpl?SKU=[url][_SKU][/url]&ACTION=[url]new[/url]]
also works for me, but why bother having all those extra [url]processing ticks?
Matt Perosi
On 7/29/2010 1:17 PM, Steve Raslevich wrote: Hi everyone,
Is there a way to pass a value within [redirect]?
I've tried the following syntax however it is not passing the value setin the variable ACTION.
[redirect path=edit.tpl?SKU=[_SKU]&ACTION=new]
Thanks,Steve
-- Matthew A PerosiComputer EngineerSenior Web DeveloperSEO Analyst & EducatorPsi Prime, Inc.323 Union Blvd.Totowa, NJ 07512Service: 973.413.8213Training: 973.413.8214Fax: 973.413.8217http://www.psiprime.com
--------------020902010201050702080606--
Steve Raslevich
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:
Reversed words (1997)
Multiple prices (1997)
japanese characters (1997)
Superfilous Characters (1998)
syntax question, not in online refernce (1997)
forms and variables (1998)
2nd WebCatalog2 Feature Request (1996)
encrypt/decrypt - are docs correct?? (2002)
Why did this copyfile stop working? (2004)
Re:listfiles-looking for slick solution (1997)
setlineitem quantity to zero? (2000)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
[WebDNA] html email.. should be a no-brainer.. but it is not parsing. (?) (2010)
Replace with Producteditor.tpl (2000)
WC2b12: Yes, Formulas.db is for real (1997)
WC2.0 Memory Requirements (1997)
sorting by date (1999)
checksum for credit cards? (1997)
WebDNA server not running (2003)
Problems with [Applescript] (1997)