Quote:
Originally Posted by adwolf1
when i insert:
<script type="text/javascript">
$.jGrowl('test...', {sticky: true, header : 'New Notification(s)' });
</script>
the box pops up properly with 'test' shown.
when i insert:
$.jGrowl('{vb:raw notifications_menubits} <br />You must view your notification(s) before this box will disappear.', {sticky: true, header : 'New Notification(s)' });
No box appears.
When I just put
{vb:raw notifications_menubits}
in the template, out pops:
2 Unread Private Messages
So I know the template variable is indeed correct.
Any ideas?
|
Solved my own problem --
"Add Template Name in HTML Comments" MUST be off or else this script won't work.
thanks