8 years ago
1
Topic

Hello,

After the user submit my register form I want him to be redirected to another article with some parameter.

For exemple the link of my seblod form is : http://mywebsite.com/&key=1234

I want to be redirected to http://mywebsite/article/&key=1234

How to do that through seblod ?

Thanks for help !

(Or another thing that can solve my problem, how to catch when the form is submited ? I was looking inside /public_html/components/com_cck/views/form/tmpl but I can't find where the form is submited in the edit.php doc)

(And how to modify the text displayed in the tab when using a seblod form)

Get a Book for SEBLOD
1283 Posts
Bucklash
8 years ago
0
Level 1

Hi

Not a complete answer but more tips.... have you got Codepack? This gives you a field to aceess variables and add php beforestore, afterstore etc...

With the beforerender field I created fields which I use to see variables in front end: 

<?php print_r($fields); ?> or 
<?php print_r($config); ?>

Just add it to a seblod form or list and view source in front end.

Or put in your template: 

<?php print_r($cck); ?>

You can create message fields in your form and override output depending on conditionals... try this forum post:

conditional-redirection-after-content-submission

In beforestore or afterStore it would be something like : if user is new message equals message_field1 else messagefield_2 ... and.... url equals $myUrlvariable

Try this link:

changing-the-joomla-message-after-a-submission-of-a-seblod-form

or this (read Lionel's explanation after my post)

add-code-before-render-plugin-value-order

Get a VIP membership