FelipeB
05-08-2015, 12:05 PM
I have an widget created named 'Classificados Rodap?' that have this return:
$retorno = array(
'outputdebug' => $output,
'ultimosVeiculos' => $ultimosVeiculos,
'ultimasPecas' => $ultimasPecas,
);
vB_Template::preRegister('vbcms_classificados_roda pe', $retorno);
I also created the style 'vbcms_classificados_rodape' with this code:
<div class="cms_widget">
<div class="block">
<div class="boxWidget classificadosRodape floatcontainer">
<div class="tabs">
<div class="cms_widget_header">
<h3>Classificados</h3>
<span>{vb:rawphrase classificados_text}</span>
</div>
<ul>
<li><p><a href="#tabs-1">VE?CULOS</a></p></li>
<li><p><a href="#tabs-2">ACESS?RIOS E PE?AS</a></p></li>
</ul>
<div id="tabs-1" class="conteudoBox">
<ul>
{vb:raw ultimosVeiculos}
</ul>
</div>
<div id="tabs-2" class="conteudoBox">
<ul>
{vb:raw ultimasPecas}
</ul>
</div>
</div>
</div>
</div>
</div>
Now I want put this widget inside my forum page, above the 'What's Going On?'.
So my question is, how I do that?
$retorno = array(
'outputdebug' => $output,
'ultimosVeiculos' => $ultimosVeiculos,
'ultimasPecas' => $ultimasPecas,
);
vB_Template::preRegister('vbcms_classificados_roda pe', $retorno);
I also created the style 'vbcms_classificados_rodape' with this code:
<div class="cms_widget">
<div class="block">
<div class="boxWidget classificadosRodape floatcontainer">
<div class="tabs">
<div class="cms_widget_header">
<h3>Classificados</h3>
<span>{vb:rawphrase classificados_text}</span>
</div>
<ul>
<li><p><a href="#tabs-1">VE?CULOS</a></p></li>
<li><p><a href="#tabs-2">ACESS?RIOS E PE?AS</a></p></li>
</ul>
<div id="tabs-1" class="conteudoBox">
<ul>
{vb:raw ultimosVeiculos}
</ul>
</div>
<div id="tabs-2" class="conteudoBox">
<ul>
{vb:raw ultimasPecas}
</ul>
</div>
</div>
</div>
</div>
</div>
Now I want put this widget inside my forum page, above the 'What's Going On?'.
So my question is, how I do that?