Currently my form redirects to the homepage and doesn't display my redirection messages.
I have added
to my template
The debug info appears to indicate that all is well.
What else should I check?
I have added
<jdoc:include type="message">
to my template
The debug info appears to indicate that all is well.
Debug information
Params: JParameter Object ( [_raw] => redirect_url=index.php debug=1 gid=18 redirect_message_users=1 open=06-09-2010 12:25 redirect_message_open=Option selection will be available from the 6 September until 17 September 2010 close=18-08-2010 12:10 redirect_message_close=Option selection is now closed. You will have to see Mr Cooper to make any changes now. days=1|2|3|4|5|6|0 open_time=00:00 redirect_message_open_time=2 close_time=00:00 redirect_message_close_time=3 [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /var/www/vhosts/rosmini.school.nz/httpdocs/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [redirect_url] => index.php [debug] => 1 [gid] => 18 [redirect_message_users] => 1 [open] => 06-09-2010 12:25 [redirect_message_open] => Option selection will be available from the 6 September until 17 September 2010 [close] => 18-08-2010 12:10 [redirect_message_close] => Option selection is now closed. You will have to see Mr Cooper to make any changes now. [days] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 0 ) [open_time] => 00:00 [redirect_message_open_time] => 2 [close_time] => 00:00 [redirect_message_close_time] => 3 ) ) ) [_errors] => Array ( ) )
Open date (06-09-2010 12:25)
Redirecting Now !!!! to ('redirect_url') with message: Option selection will be available from the 6 September until 17 September 2010
What else should I check?
Hi abasel,
Nothing else as far as I can see. Can you post a link to the form?
Bob
Nothing else as far as I can see. Can you post a link to the form?
Bob
Hi abasel,
The plugin seems to be working OK. I think that the problem is that the message isn't displaying. Try adding the / to
Bob
The plugin seems to be working OK. I think that the problem is that the message isn't displaying. Try adding the / to
<jdoc:include type="message" />
Bob
Hi Bob,
where exactly in the template would you add this line to? I tried in a couple of places at the top of HTML template file, but it destroys my site.
Thanks
where exactly in the template would you add this line to? I tried in a couple of places at the top of HTML template file, but it destroys my site.
Thanks
It can go anywhere; wherever you want the message to appear. It shouldn't destroy your code.
For starters put it just after the <body> tag, just to see it working.
For starters put it just after the <body> tag, just to see it working.
Thanks Bob. I'll play around with it. The code is no longer braking the site when put where you suggested.
This topic is locked and no more replies can be posted.