I have page-front.tpl.php. This template contains the code

<?php
print $content;
?>

I would like to split the $content list into smaller units like:
For first item,
Node title -1
Submitted -1
Teaser -1

For second item,
Node title -2
Submitted -2
Teaser -2

and so on

I am looking for page-front.tpl.php code based solution. I do not want to use views or any other module. I have searched the forum but could not find any such advice for Drupal 6.

Thank you very much.

Comments

nevets’s picture

All page.tpl.php or page-front.tpl.php "sees" for $content is a string containing html. From what you have shown your front page displays a list of nodes so you could theme node.tpl.php (where the parts of the node are available) and use $is_front which is true when viewing the front page to theme the node as desired.