Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
how to send_script_response ?
Hi everybody,
I am following Jukka example to fire an error message on article_posted event.
The message and javascript are issued all-right but every thing get spit out in htmlentities. So what is displayed is the code of the page :(
I changed the theme for the classic but still the same.
Thanks for any explanation !
Offline
Re: how to send_script_response ?
What works is :
echo $theme->announce(array(gTxt('author_already_exists', array('{name}' => $username)), E_WARNING), true);
Offline
Pages: 1