I have been losing quite a lot of time with something that seemed straightforward initially.
I am trying to use a template file(tpl.php) to print a content type with custom html layout.
In template.php I added.
function responsive_bartik_preprocess_node(&$variables) {
if ($variables['type'] == 'dagens_billet') {
$variables['theme_hook_suggestions'][] = 'templates/dagens_billet--template';
}
}
I added a templates/dagens_billet--template.tpl.php but nothing is being printed. I've added the following test code in there:
<?php print render('Giannisssssssssssssss'); ?>
Any suggestions to make it work?