Insert an image before the promoted nodes on the frontpage

The front_page module allows for the display of a customized front page. This PHP snippet keeps the original front page (containing nodes promoted to the front page) and inserts an image (or other static content) in front of it.

Prerequisite: front_page module must be installed and configured properly.
Go to ADMINISTER - SETTINGS - FRONT_PAGE, check "Allow embedded PHP code" and enter the PHP snippet into the "Front page HTML" box.

<center><img src="/my_image.gif"></center>

<?php
  
print node_page_default();
?>

Tested with drupal version 4.6.0.

 
 

Drupal is a registered trademark of Dries Buytaert.