Hey,

I am trying to work with vbadvanced and edit the wrapper so its the same as my current design.

I have got the main part of the design and the module title working but I don't know what to put in for the main module code.

You can see what its like so far here.

This is my code:

PHP Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="5"><img src="da_imgs/misc/win_left.gif"></td>
    <
td background="da_imgs/misc/win_bg.gif" class="tcat"><strong>$vba_style[portal_blockbullet]
        <if 
condition="$mods['link']"><a href="$mods[link]">$mods[title]</a>
            <else />
          
$mods[title]</if>
    </
strong></td>
    <
td width="10" valign=top><img src="da_imgs/misc/win_right.gif" alt="" border="0" /></td>
  </
tr>
</
table>
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
  <
thead>
  </
thead>
  <if 
condition="$show['loggedinusers']">
    <!-- 
logged-in users -->
    <
tbody>
      <
tr>
        <
td class="thead"><a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a></td>
      </
tr>
    </
tbody>
    <
tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">    
    <
tbody id="collapseobj_module_$mods[collapse]style="$modcollapse">
      <if 
condition="$show['tablerow']">
            <
tr>
                <
td class="tcat" background="da_imgs/misc/win_bg.gif">
                    
$modulehtml                </td>
            </
tr>
        <else />
                
$modulehtml
            
</if>
        </
tbody></td>
      </
tr>
    </
tbody>
    <!-- 
end logged-in users -->
  </if>
  <
tbody>
    <
tr>
      <
td class="thead"><a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
          <
phrase 1="$vboptions[bbtitle]"></phrase></td>
    </
tr>
  </
tbody>
  <
tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
  </
tbody>
  <if 
condition="$show['birthdays']">
    <!-- 
today's birthdays -->
    <tbody>
      <tr>
        <td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a></td>
      </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
      <tr>
        <td class="alt1" width="100%"><div class="smallfont"></div></td>
      </tr>
    </tbody>
    <!-- end today'
s birthdays -->
  </if>
  <if 
condition="$show['upcomingevents']">
    <
tbody>
      <
tr>
        <
td class="thead"><a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
            <if 
condition="$show['todaysevents']"></if></td>
      </
tr>
    </
tbody>
    <
tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
      <
tr>
        <
td class="alt1" width="100%"><div class="smallfont"></div></td>
      </
tr>
    </
tbody>
  </if>
</
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr valign="top">
    <
td width="15" height="10"><img src="da_imgs/misc/foot_left.gif"></td>
    <
td background="da_imgs/misc/foot_bg.gif"><img src="da_imgs/misc/trans.gif" width="5" height="6"></td>
    <
td width="15" height="10"><img src="da_imgs/misc/foot_right.gif"></td>
  </
tr>
</
table
Could anyone help with where I should put the main code for the module itself?

Thanks in advance!