PHP Code:
echo '<script>alert("'.$message.'");</script>';
Hmmm this did not seem to work for me... but maybe it's my lack of knowledge...
I tried adding it to tpl_message_stack_default.php and I got as far as the popup displaying ' .. ' but it won't show the message
Do you have an idea how to merge it into this file (show below)
PHP Code:
<?php
?>
<?php for ($i=0, $n=sizeof($output); $i<$n; $i++) { ?>
<div <?php echo $output[$i]['params']; ?>><?php echo $output[$i]['text']; ?></div>
<?php } ?>
Your help is highly appreciated!