I'm using a themed front page and trying to get rid of/suppress/change the heading 'Front Page' (which I consider somewhat naff and unnecessary:) - see http://tonysleep.co.uk

However there doesn't seem to be an easy way to do it. I can't use CSS as it's just a vanilla H2 page heading and CSS would suppress headings I do want. Nor can I find where in the module the heading is set to 'Front Page'. It's just part of $content but Drupal must be getting it from somewhere...

It would be very nice if this was configureable as I can't see how even fully customised front pages would help in my context - the content is a random image node. Or maybe there's a template.php solution? Grateful for any suggestions...

Comments

Phillip Mc’s picture

that 'front page' header isn't being generated by the front_page.module. is there something in the snippet that generates the random front page image that is also generating it?

Phil

P.S. nice site and great photos by the way.

halftone’s picture

Thankyou :-)

As far as I can see there is nothing at all in the PHP if the front page body that could generate it. Code on the anonymous front page is

<!-- begin content -->  
<div class="node0">
   <div class="content">
<?php
  $gallery_name='portraits';
  $term = taxonomy_get_term_by_name($gallery_name);
  $tid = $term[0]->tid;
  $previews = 0;
  while ($previews<1) {
  $images = (image_get_random($count = 1, $tid));
  print l(image_display($images[0], 'preview'),'node/'.$images[0]->nid, array(), null, null, FALSE, TRUE);
  $previews++;
}
?>
    </div>  
    <div class="front-page-text"><p>Tony Sleep is a freelance photographer based in Ealing, West London, UK who works mostly on commission for editorial, commercial, charities and social housing groups.  
   </p> 
    </div> 
  </div>
<!-- end content -->

Drupal has to be picking it up from the module somewhere.

dublin drupaller’s picture

Status: Active » Closed (won't fix)