Quote Originally Posted by rkarta View Post
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!
Sorry '$message' in my previous message was just pseudo-code. Try this:

PHP Code:
$message="";
foreach(
$output as $thisoutput)
 
$message.=$thisoutput['text'].'\n';

echo 
'<script>alert("'.$message.'");</script>'