ASU Web Community

Create a Unique Template (page.tpl.php) for Your Front Page

  1. In Content Types, create a new content-type called "frontpage."
  2. Rename page.tpl.php as "page-default.tpl.php".
  3. Create a new page.tpl.php and put this code in it:
    <?php

    if ($node->type == 'frontpage') {
    include
    'page-frontpage.tpl.php';
    return; }

    include
    'page-default.tpl.php';
    return;

    ?>
  4. Create a new template file for your front page called "page-frontpage.tpl.php." The easiest way is to copy the page-default.tpl.php, then edit it to make your changes.
  5. Upload all three files to your asuzen theme.
  6. In Create Content, create a new frontpage page.

That should do it!