Skip to main content
8 events
when toggle format what by license comment
Jul 28, 2013 at 23:07 vote accept everaftergraphics
Jul 28, 2013 at 23:06 comment added everaftergraphics Yup - that's it! I just had to create a new template.php and put it in my sub-theme and the only thing in it was a slightly different version: function mazin_theme_preprocess_page(&$vars) { // - page--example.tpl.php if (isset($vars['node'])) { $vars['theme_hook_suggestion'] = 'page__'.$vars['node']->type; // } }
Jul 28, 2013 at 21:52 comment added Elin Y. Ok, I thought Zen theme would provide those template suggestions for page.tpl.php but it is not the case as I read. AdaptiveTheme has an option to activate those template suggestions. In your case you should tell Drupal about them manually. I have updated my answer, please check.
Jul 28, 2013 at 21:49 history edited Elin Y. CC BY-SA 3.0
added 604 characters in body
Jul 28, 2013 at 20:16 comment added everaftergraphics my devel module shows me my options are this: Template called: sites/all/themes/mazin_theme/templates/page.tpl.php Candidate template files: page--node--31.tpl.php < page--node--%.tpl.php < page--node.tpl.php < page.tpl.php
Jul 28, 2013 at 19:53 comment added everaftergraphics Thanks I've tried that too. It still won't work and the devel module isn't showing that it's even possible to name the templates with the content type. so I must be missing some PHP somewhere... I just don't know what.
Jul 28, 2013 at 18:15 review Low quality posts
Jul 28, 2013 at 18:27
Jul 28, 2013 at 17:57 history answered Elin Y. CC BY-SA 3.0