This code is my forum.php
I m trying to do a "plugin" to add the chatbox in the side bar !
The content of my bloc is
Code:
$output='$output';
return $output;
and this bloc displays this template
chatboxtoutcourt whichs contains :
Code:
<li>
<div class="block smaller">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_html_mgccbevo" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_mgccbevo"/></a>
<span class="blocktitle">
Chatbox [<a href="{vb:raw vboptions.bburl}/{vb:raw vboptions.mgc_cb_evo_filename}.php?{vb:raw session.sessionurl}do=view_archives&page=1">{vb:phrase mgc_cb_evo_archives}</a>]
</span>
</div>
<div id="block_html_mgccbevo" class="blockbody floatcontainer">
<div class="blockrow" align="center">
<div style="width:100%; height: {vb:raw vboptions.mgc_cb_evo_notifs_sidebar_height}px;overflow-y: auto;border: none; z-index: 1;" id="schats_container">
<table width="100%" align="{vb:stylevar left}" cellspacing="0" cellpadding="0">
<tbody id="schats">
<tr>
<td>output template {vb:raw output} $output</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="underblock"></div>
</li>
But this fu**in' var doesn't display in my template, whereas with the echo it does !