Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: $POST values after cliking on href link
If you see the information that Stef gave me with smd_query
that might help. See comment #190 in this thread.
Basically, the technique is to post the form back to the same page, but use adi_gps
to extract the POST variables, do some processing and then redirect the browser BEFORE anything else on the page loads. I’m not exactly sure what you’re trying to achieve, but it works for me. I have figured that with ad_gps
and smd_query
I can do a lot of fancy stuff in the background and then serve up the page the user needs.
Last edited by aslsw66 (2010-02-24 10:20:12)
Offline
Re: $POST values after cliking on href link
You could script the action
as well — that would allow you to use the same form for multiple targets.
Code is topiary
Offline
#15 2010-02-24 15:33:36
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: $POST values after cliking on href link
Thanks everyone for your help!
I will use $Session, I didnt know how to use them but at the end they were pretty easy to make…
and all that js didnt work.
Thanks again!
Offline