116 Posts
nycxav
10 years ago
8
Topic
Hi,
I'm trying to redirect to an URL with a parameter after submitting a form.
Namely I would like to initialize another form (other content type) with a reference to the one that was just saved.
So I'd like to pass the id that was just generated as a parameter to the redirect url.
I tried to put parameters in the url but whatever syntax I use it's not evaluated when the url is generated.
Any idea?
Thanks.
Get a Book for SEBLOD
178 Posts
Jeka
10 years ago
7
Level 1
Why you dont use Redirection in configuration of your form ?
116 Posts
nycxav
10 years ago
6
Level 2
Hi Jeka,
Well, that's exactly what I want to do however I want to pass a parameter and the seblod redirection doesn't seem to allow for that. You can redirect to a fixed URL but that's it. Unless there is an obscure syntax I'm not aware of?
Alternatively I could do an override, however I could use pointers to know which file I would need to override.
Thanks
178 Posts
Jeka
10 years ago
5
Level 3
Oahh.I dont think that you can use some syntax here. Maybe you can try this: In redirection config there is also content variant in which you can choose menu item . So maybe you can create needed menu item toyour form in hidden menu and do redirection to it.
116 Posts
nycxav
10 years ago
4
Level 4
I would still have the same problem with the parameters. The redirect to the form itself is not a problem it is initializing the form with some values from the first form that is the issue. I guess I have to do an override but right now I'm looking for the file where the redirect resides.
178 Posts
Jeka
10 years ago
3
Level 5
Ok. So you want to send data to other form in url and get them by live plugin in second form ?
116 Posts
nycxav
10 years ago
2
Level 6
Yes exactly. Do you know how to do that?
178 Posts
Jeka
10 years ago
1
Level 7
http://www.seblod.com/products/8074
What do you think?
116 Posts
nycxav
10 years ago
0
Level 8
Hi Jeka,
To me it's not clear at all what this plugin does. Like for other plugins here, there is no documentation, very little explanation and most of it is cryptic (you can tell it's translated from French to English by a non-native English speaker) and furthermore no reviews.
Given my past experiences with plugins in this store I'm a bit reluctant to fork out money for some extension that has no clear purpose.
Did you try it?
X
Get a VIP membership