How can I change the appearance of posts on the front page? Is there a simple way, or do you have to use views etc (and if so, how do you do this?)

From what I can understand, posts are pulled into the front page with the $content variable, which then displays Title, image, teaser text, and links (read more, add comment, etc.) from the node in a certain way (see below)

Title
******* Teaser tekst
*Image *
*******
*******
*******
Links

I would like to change the way each post is displayed on the front page to:

******* Title
*Image * Teaser tekst
*******
*******
******* Links

Any idea on how to accomplish this in the simplest way? We use kind of an advanced theme from out of the box (Themeshark's Galapagos) and I would like to keep all the theme's features on the front page and just modify how the posts are displayed.

Thanks,
Hans

Comments

Jeff Burnz’s picture

Hard to say without seeing the output of the theme, since its a custom jobby it could be generating the output of the teasers any number of ways - that said you might get away with just floating the image - but why not ask Themeshark, I'm sure they'd be only to happy to advise you how to do this in their theme.

pride7’s picture

Thanks for the advice. I've contacted Themeshark and if they don't answer I will probably build a view for doig this.

dodorama’s picture

If you don't want to deal with views (but if you're serious about drupal I'd suggest you to start playing with it since it's one of the most powerful modules) you can try to accomplish that using templates. By checking if $is_front is TRUE inside an IF statement you can write specific code for the frontpage in the node.tpl.php template. Let me know if this is clear.

pride7’s picture

Thanks for the feedback. I've been looking into using views and I agree that seems to be the best option.