I'd like to create three separate blocks / columns in which three teasers are displayed in each of them: (Screen) (teasers are indicated with red brackets).

I thought this to be quite straight forward for a beginner, but it seems like I've breaking my teeth on it for a couple of hours now.

I already have a content type, called 'Cases' (under 'Category A' in the screen). The content type 'Case' represents one of the three teasers displayed in one vertical (green) bar, indicated with red brackets. As you notice on the screen, I'd like to keep everything in its respective tags (being H4, p and img and an automatic link to the full article ofcourse). I haven't found a way to this either. I suppose it can be done with the 'field_'-variables from the CCK-module?

So in fact it's quite simple and it looks basic what I'm trying to do, but I'm an absolute novice in Drupal and the handbook didn't seem to provide the exact information I was looking for. So now I'm trying find a little push in the back on the forum so I'm back on track again. Some other topics on the forum looked similar to my problem, but were a bit confusing in the end.

A little assistance with this would be much appreciated.

Comments

Aeternum’s picture

Hi knalstaaf,

I think your problem can be solved using a variety of modules. The first one to check out would be Panels, which will let you display columns on your front page in the way you want it to. Panels is a topic in an of itself, and you'll be able to find a guide on setting it up on the Panels page. The next module you might be interested in would be NodeQueue which will let you reorder the articles on your front page however you like. Finally, you should go and get Views (which Panels requires anyway, I think). Should Panels not be powerful enough to do what you are after (unlikely) you'll be able to customise it far more using just Views. Both Panels and Views are pretty indepth modules to learn, so good luck :-) - however they should let you do what you need to get done.

Hope this helps,

Aeternum

P.S. Just so you know, you should be able to do what you are after without having to write any PHP at all.

knalstaaf’s picture

Hold on.

knalstaaf’s picture

I got a little further, the only thing I should find out right now is how to customize my nodes in that particular view (called 'reclame_case'). Copying and renaming node.tpl.php to node-view-reclame_case.tpl.php doesn't work apparently. It's being ignored and the node.tpl.php is being used instead.

In Advanced Help it says:

Views does add an extra 'suggestion' to the list of possible node templates: node-view-VIEWNAME.tpl.php (or node-view-reclame_case.tpl.php in my case) -- you may use this to theme a node specifically for the view. This can be handy for creating very small teasers and the like.

But that doesn't seem to work (not even after a clear-cache). If I remove node.tpl.php altogether, it's not replaced by my node-view-reclame_case.tpl.php either.