Ole,<div><br></div><div><ul><li>Row style: fields</li><li>Style: Unfomatted</li><li>Fields: Sounds like you just want &quot;Node Title&quot; (with the option, &quot;link to node&quot; checked on).</li><li>Display: click on the dropdown and select &quot;block&quot; and then click &quot;add display.&quot;</li>
</ul></div><div><br></div><div>I always use Views for this kind of stuff... so much more maintainable than coding directly on your template.</div><div><br></div><div>Don&#39;t give up on Views. It&#39;s awesome! Definitely takes some getting used to, because it is so powerful and flexible.</div>
<div><br></div><div>As for placing the view in page-front.tpl.php ...</div><div><br></div><div>If your theme had separate regions for that spot like for example Litejazz or Acquia Marina, then you could use Drupal&#39;s block administration to put the views in the right spots. But it sounds like your theme might not, which is cool, not a problem.</div>
<div><br></div><div>Check out instructions here for how to directly invoke the placement of a block into your template:</div><div><br></div><div><a href="http://drupal.org/node/345361#comment-2587878">http://drupal.org/node/345361#comment-2587878</a></div>
<div><br></div><div>Shai</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">Hi all,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I have a HTML design and I am transferring it into Drupal templates.
There is a table with four cells on the homepage (and on the homepage only). In
each cell there are a maximum of three titles of the most recent items. Each of
the four cells represent a different contenttype.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I created a block with the right content for the first cell,
but I got stuck constructing the table and its content with templates. More
specific, I got stuck on understanding the “display”, “row”,
“style” and “field” parts of the view section.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Because it took me too long I ended up writing php code in
the page-front.tpl.php file.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Would anyone of you suggest to go and use blocks the way I
first tried it and if so – how?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks in advance for the trouble taken,</p>

<p class="MsoNormal"> </p><font color="#888888">

<p class="MsoNormal">Kerpel</p>

</font></div>

</div>



<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>