I have created a node-content_type_name.tpl.php in template file but it doesn’t override anything.
In node theming manual [#17565] is written that “there must also be an original node.tpl.php template present in your theme directory or the template suggestion is ignored.
Where can we find the original node.tpl.php template for pixture reloaded?

Comments

hutch’s picture

in themes/adaptivetheme/at_core/templates/

ronline’s picture

Thank you for the hint @hutch. I will check it out and update the issue accordingly.

ronline’s picture

It is not not working.... The machine name of the content type is "youtube_video".
I have copied the node.tpl.php to my theme directory and I copied the content of node.tpl.php to templates/node-youtube_video.tpl.php . The modifications in node-youtube_video.tpl.php are being ignored....

ronline’s picture

edit: The above comment was posted twice by accident

ronline’s picture

Crawling through the documentation. Apparently there is different naming convention for D7 => https://drupal.org/node/17565#comment-4490038
node--youtube_video.tpl.php instead of node-youtube_video.tpl.php ?

ronline’s picture

Status: Active » Closed (fixed)

The machine name of the content type contains underscores I had to translate them to hyphens.

The node-youtube_video.tpl.php
should be:
node--youtube-video.tpl.php