Is there an if statement I can put in page.tpl.php so the title and breadcrumb html is only written is the page is not the home page (aliased as index.htm)??

Comments

buchanae’s picture

you could do something like this...

http://drupal.org/node/52389

under the "create seperate home page" section.

then in your page_index just remove

print $breadcrumb
print $title

ob3ron’s picture

<?php if (($_GET['q']) != variable_get('site_frontpage','node')): ?>
  <?php if ($breadcrumb != ""): ?>
    <div id="breadcrumbs">
      <?php print $breadcrumb;?>&nbsp;
       <span class="breadcrumb">&raquo;  
        <?php if ($title != ""): print ucwords($title); endif; ?>
       </span>
    </div>
  <?php endif; ?>
<?php endif; ?>
smithaa02’s picture

That did the trick!