PDA

View Full Version : standard_redirect function


al3bed
08-31-2009, 01:13 AM
hello,

I have a question about standard_redirect function:
how to use this function with a phrase?

I try these:
standard_redirect('".$vbphrase[ain_adsense_savecomplete]."', true);
standard_redirect('$vbphrase[ain_adsense_savecomplete]', true);
standard_redirect('ain_adsense_savecomplete', true);
standard_redirect(ain_adsense_savecomplete, true);

nothing of above is accepted! I try various fieldnames: Error Messages, Front-End Redirect Messages and Global ... it's just not working

Dismounted
08-31-2009, 07:24 AM
Ideally, you should be doing something like this:
eval(print_standard_redirect('redirect_somephrase' ));
A phrase "somephrase" (no prefix) should be added to the "Front-End Redirect Messages" phrase group.

al3bed
09-01-2009, 08:20 PM
thanks work great :)
eval(print_standard_redirect('ain_adsense_savecomp lete',true, true));