Oct 16, 2008 | 11:16 AM  
Welcome

Don't have an account yet? You can create one, it is free, just click here

as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
   30-Nov-1999  Print current page  Show map

- Step 1: Create General Area block templates:

 

    Step 1: Create General Area block templates:

    To see how area block templates work, you will create 3 different areas located in the central column of the theme, just between the top links and the center blocks: the fastest way to create these templates is to copy the code from the leftblock.html and save it as area1block.html, area2block.html, and area3block.html in the same folder of theme.html. Then you can make the required modifications to these files to fit your needs. Remember all the template files, except for theme.html, don't have <­html>, <­header> and <­body> tags. Here's the general code:


<­TABLE WIDTH="165" BORDER="0" CELLPADDING="0" CELLSPACING="3" BGCOLOR="#FFC22C">

<­TR>

<­TD CLASS="title">

<­!-- [block-title] -->

<­/TD>

<­/TR>

<­/TABLE>

<­TABLE WIDTH="165" BORDER="0" CELLPADDING="1" CELLSPACING="0" BGCOLOR="#FF9900">

<­TR>

<­TD><­TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="4" BGCOLOR="#FFFFFF">

<­TR>

<­TD>

<­!-- [block-content] -->

<­/TD>

<­/TR>

<­/TABLE><­/TD>

<­/TR>

<­/TABLE>

<­TABLE WIDTH="165" BORDER="0" CELLSPACING="0" CELLPADDING="0">

<­TR>

<­TD HEIGHT="7"> <­IMG SRC="<­?php echo $imgpath; ?>spacer.gif" WIDTH="1" HEIGHT="7"><­/TD>

<­/TR>

<­/TABLE>