July 06, 2008 | 11:23 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

h. Applying AT commands to theme.html template

h. Applying AT commands to theme.html template

    Open theme.html with your favorite web editor and find the code including left blocks:

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

<­TR>

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

<­TD> Left Blocks <­/TD>

<­/TR>

<­/TABLE>



    change the placeholder <­TD> Left Blocks <­/TD>

    with the AT command for left blocks: <­TD> <­!-- [left-blocks] --> <­/TD>




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

<­TR>

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

<­TD> <­!-- [left-blocks] --> <­/TD>

<­/TR>

<­/TABLE>



Replace also:

  • the Welcome message placeholder with the AT command <­!-- [user-welcome] -->

  • the Center blocks & Modules placeholders with <­!-- [center-blocks] --> <­!-- [modules] -->

  • the right blocks palceholder with <­!-- [right-blocks] -->

  • the footer message placeholder with <­!-- [footer-msg] -->

Save the theme.html file, make a refresh of the browser or type the preview URL http://127.0.0.1/mdpro/index.php?theme=ATTest : that's what you will see: