Template change before Show Thanks Message

Prekki 26 Nov, 2011
I need a printable show thanks message for my form. So the generell joomla template must change into the print template after submit. Any ideas?
GreyHead 27 Nov, 2011
Hi prekki,

I'm don't know - maybe you can add CSS to hide the template. Or put the thank you page in an article and use a menu item to change the template?

Bob
Prekki 27 Nov, 2011
Thanks Greyhead for your reply!
I hoped that there is a possiblity to give the printtemplate-call (?tmpl=component&print=1&layout=default&page=) to the submit process. that would be great but i dont know how to do.
to put thanks message in an article couls be also ok, but how can i realise that, the thanks message is a summary with all formular data of the form.
nml375 27 Nov, 2011
Hi prekki,
Another way would be to add &tmpl=component to the Form submit URL;
For CFv4, the URI should look something like below (open the form and view source in your browser to see the exact value for your form):
http://www.example.tld/index.php?option=com_chronoforms&chronoform=example&event=submit

Change it into this:
http://www.example.tld/index.php?option=com_chronoforms&chronoform=example&event=submit&tmpl=content


/Fredrik
Prekki 28 Nov, 2011
Yes Fredrik, you save my live :-)
That was the solution,
I give a hhtp request with the print template URL and it works fine!
thx very much!
This topic is locked and no more replies can be posted.