Closed (fixed)
Project:
Bootstrap
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2013 at 22:29 UTC
Updated:
2 Oct 2015 at 18:01 UTC
Jump to comment: Most recent
i can't find any node.tpl.php template file on the theme, only page.tpl.php and html.tpl.php under bootstrap/theme/system
is there a node.tpl suggestion included in the theme?
Comments
Comment #1
andregriffin commentedIf it's not overridden in the base theme, it would be pulling from core. You should be able to copy the node.tpl from core (/modules/node/node.tpl.php) and place it in your subtheme.
Comment #2
markhalliwellHmm, no there's not. How did we lose that... very odd. We should pull the one over from the 2.x branch as it's different from core.
Comment #3
bunnicula commented7.3 doesn't seem to have support for any of the node template suggestions (node--mytype.tpl.php or node--id.tpl.php etc). Can anyone else confirm this? AFAIK these suggestions are built into core and have somehow been overridden.
Comment #4
leanderl commentedI encountered this situation with Bootstrap 7.x-3.0 (Drupal 7.25) and was able to solve it by copying the node.tpl from core and then renaming it after the appropriate theme hook suggestion.
(Sometimes if it is hard to know the exact name the template should have you can check by doing a kpr($variables) in the node.tpl and look for theme_hook_suggestions. That's what I had to do to get it right).
Thanks for all the great work with this base theme by the way.
Comment #5
markhalliwellCommitted 89dd440 to 7.x-3.x:
Comment #8
joshuautley commentedWill the node.tpl.php in the -dev release work in 3.0? (production release)
Comment #9
allanperry commentedI have the same question: Will the node.tpl.php in the -dev release work in 3.0? (production release)