default page.tpl.php

here is a sample page.tpl.php. note if the template does not exist, a default template is used. Comments are also optional but included here for code clarity

  <?php   print $head_title; //print the page title  ?>
  <?php print head; //print header ?>
  <?php print $styles; //print relevant styles ?>
  <?php print $scripts; //print page scripts ?>

 <?php if($site_slogan); ?>
    <div id='site-slogan'><?php print $site_slogan; ?></div>

<?php endif; ?>



Leave a Reply

Your email address will not be published. Required fields are marked *