<?php get_header(); ?>
		<div class="main left">
        	<?php if (have_posts()) : ?>
			<?php while (have_posts()) : the_post(); ?>
            <div class="post" id="post-<?php the_ID(); ?>">
            	<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
                
                <div class="entry">

                                  
					<?php the_content('Read more...'); ?>


                     </div>

		
                   
</div>
             <?php endwhile; ?>
			 <?php else : ?>
             <div class="post">
             	<h2><?php _e('Not Found'); ?></h2>

             	<div class="entry">
            		<p class="notfound"><?php _e('Sorry, but you are looking for something that isn&#39;t here.'); ?></p>
			 <?php endif; ?>
                       </div>
<?php get_sidebar(); ?>

<?php get_footer(); ?>

Can anyone help? Definitely will be appreciated.

Comments

rshojo’s picture

Its done automatically in drupal - or at least the "print content" does that - look page.tpl and node.tpl

TooFatToFish’s picture

When I paste that in node-story.tpl.php, it gives me errors because the tags are from wordpress.

joachim’s picture

Well obviously...

Like the other commenter says, Drupal already does all of this for you.
What is it you're trying to achieve?

TooFatToFish’s picture

I'm trying to give my node-story.tpl.php page a different layout than my page.tpl.php page. Any easier way to do it?

joachim’s picture

Firstly, page.tpl and node.tpl are apples and oranges -- don't mix them.
You mean node-story.tpl and node-page.tpl perhaps?
Look in those and rearrange things. But don't paste from WP -- it simply won't work!

TooFatToFish’s picture

How much would it cost to pay someone on here (or you) to configure it for me?

rshojo’s picture

How long is a piece of string - what exactly do you want to do?
I have recently been doing what you are doing I think - been with wp for years but looking at drupal - drupal isnt all that more tricky than wp. Cant tell you what I would charge but imagine $40 :-)

One of the things you might want to try is different themes to get a feel of how it is done.