Hi folks,

First of all, thank you for such really amazing work that you put out in this module for those that are maintainer and coders as well as all else involved with the process.

I have something that I feel I need some better explanation on.

I create a View using the "Panels: 3 Columns Teaser View" option.

This View works great as it generates a 3 column view of all my page teasers.

I then use Contemplate to modify this teaser. Contemplate appears to work great. WHat I notice is that no matter what I put on my page teaser template, the 3 column View always displays the title of the node at the top of each templated teaser.

I can't seem to template the way a title is displayed for each of the teaser views in the 3 columns. The title is always displayed in the same place which I can't seem to affect along with anywhere else I template the contemplate to print the title of the node.

I hope I am explaining this clearly.

Comments

merlinofchaos’s picture

Status: Active » Closed (works as designed)

contemplate can only template the 'content' of a node, which is printed via $content in the node.tpl.php file.

In order to do what you want, you need to edit node.tpl.php in your theme; you may need to create node-TYPE.tpl.php if it's just for a specific content type.

Zoologico’s picture

It is for a specific content type.

I'd like not to hack theme or core to do this, is there any other way?

If not, what would you say is the cleanest way to do this?

Zoologico’s picture

It is for a specific content type.

I'd like not to hack theme or core to do this, is there any other way?

If not, what would you say is the cleanest way to do this?

merlinofchaos’s picture

Creating a node-nodetype.tpl.php is not considered 'hacking'; the theme layer is where customizations are intended to happen. That is the cleanest way.

Zoologico’s picture

I apologize in advance for my ignorance on the matter, but where should I start looking and what should I consider adding or editing in the node.tpl.php file?

Is there a way to determine if a node (property) is within a view that is within a node (region) and that it should not be displayed.