Fork me on GitHub

How to make a custom frontpage?  Bottom

  • How do I construct a custom frontpage as showed below ?

    http://iwb.dk/table.jpg

    Code

    <!DOCTYPE HTML public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body>
    <table width="800" height="455" cellpadding="5">
      <tr>
        <td width="8%" rowspan="4">&nbsp;</td>
        <td width="42%" rowspan="4" style="border-width:1px; border-style:dashed">Block A</td>
        <td width="25%" height="20" style="border-width:1px; border-style:dashed; border-bottom-width:0px"><strong>block B title</strong></td>
        <td width="25%" height="20" style="border-width:1px; border-style:dashed; border-bottom-width:0px"><strong>
          Block C</strong></td>
      </tr>
      <tr>
        <td style="border-width:1px; border-style:dashed;border-top-width:0px;" width="25%" height="150">[Block B]</td>
        <td width="25%" rowspan="3" style="border-width:1px; border-style:dashed;border-top-width:0px;">[Block C]</td>
      </tr>
      <tr>
        <td height="20" style="border-width:1px; border-style:dashed;border-bottom-width:0px;"><strong>Block D title</strong></td>
      </tr>
      <tr>
        <td height="150" style="border-width:1px; border-style:dashed;border-top-width:0px;">[Block D]</td>
      </tr>
    </table>

    </body>
    </html>
  • Use the AutoTheme module. It has a built in start paqe function.
  • Found a solution:

    1. make a PHP center block, include your own PHP file.
  • Another option is to make your own module and call it to the front page. If you take, for instance, the legal module - gut it and rename it, then its pretty easy to make a simple module. OR you could use the postwrap module to "wrap" around an external HTML or PHP file.
  • 0 users

This list is based on users active over the last 60 minutes.