Hello,
I have defined new toolbar button, which triggers custom function. I would like to redirect to external url, once the function execution is finished.
I tried following function return:
Code:
<?xml version='1.0'?><doc><url>http://example.com</url></doc>
Code:
<?xml version='1.0'?><doc><ok type='blank'>http://example.com</ok></doc>
Code:
<?xml version='1.0'?><doc><redirect>location='http://example.com'</redirect></doc>
but none of theme work. I receive 'The plug-in failed or returned invalid xml '. Could you please post me example of correct implementation of such redirect?
Thanks,
-Maciej