Sevas
05-24-2007, 02:00 AM
Hi again!
i create a template called "adv_portal_threads"
with this content:
$mods[formcode]
<div style="padding-bottom:$vba_style[portal_vspace]px">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="$mods[colspan]">
<if condition="$vba_style['portal_collapsemods']">
<a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
</if>
<span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
<if condition="$show['tablerow']">
<tr>
<td class="$bgclass">
$modulehtml
</td>
</tr>
<else />
$modulehtml
</if>
</tbody>
</table>
</div>
<if condition="$mods['formcode']"></form></if>
that content is the same of template "adv_portal_module_wrapper"
so, on Vba CP -> "Module Wrapper Template Options"
i turned OFF the option "Use Module Wrapper Template"
and in "Alternative Module Wrapper Template" i inserted "adv_portal_threads"
and save.
but the result is this:
http://img161.imageshack.us/img161/4291/62545133ww9.jpg
and when i use the default template "adv_portal_module_wrapper" it looks like this:
http://img440.imageshack.us/img440/566/18675503xf2.jpg
why ?
my idea is clone the template "adv_portal_module_wrapper" for later customized it.
i create a template called "adv_portal_threads"
with this content:
$mods[formcode]
<div style="padding-bottom:$vba_style[portal_vspace]px">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="$mods[colspan]">
<if condition="$vba_style['portal_collapsemods']">
<a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
</if>
<span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
<if condition="$show['tablerow']">
<tr>
<td class="$bgclass">
$modulehtml
</td>
</tr>
<else />
$modulehtml
</if>
</tbody>
</table>
</div>
<if condition="$mods['formcode']"></form></if>
that content is the same of template "adv_portal_module_wrapper"
so, on Vba CP -> "Module Wrapper Template Options"
i turned OFF the option "Use Module Wrapper Template"
and in "Alternative Module Wrapper Template" i inserted "adv_portal_threads"
and save.
but the result is this:
http://img161.imageshack.us/img161/4291/62545133ww9.jpg
and when i use the default template "adv_portal_module_wrapper" it looks like this:
http://img440.imageshack.us/img440/566/18675503xf2.jpg
why ?
my idea is clone the template "adv_portal_module_wrapper" for later customized it.