I tried that before, and I just re-tried it, but it is not working. I just get the query_posts line as text on my index.php.
Here is the code I used, please advise.
<?php include("header.php"); ?>
<!-- BEGIN content -->
<div id="content">
//The Query
query_posts('posts_per_page=1');
<?php
if (have_posts()) :
while (have_posts()) : the_post();
?>
<!-- BEGIN post -->
<div class="post">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'thumbnail', 'alt="' . $post->post_title . '"'); ?></a>
<?php the_excerpt(); ?>
<p class="date"><?php the_time('F j, Y') ?></p>
</div>
<!-- END post -->
<?php endwhile; ?>
<p class="postnav">
<?php next_posts_link('« Older Entries'); ?>
<?php previous_posts_link('Newer Entries »'); ?>
</p>
<?php else : ?>
<div class="notfound">
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that is not here.</p>
</div>
<?php endif; ?>
</div>
<!-- END content -->
<?php get_sidebar(); get_footer(); ?>