Yep, it was a typo. Arrgh.
Nothing like another set of eyes to look at things.
Thanks, Matt
On 18 February 2010 12:28, Trevor Twining trevortwining@gmail.com wrote:
As long as [node.podcast.tpl.php] isn't a typo, then change it to node-podcast.tpl.php and rebuild the theme registry. It won't be found if you use the period instead of the hyphen.
Trevor Twining, Points of Light Institute http://pointsoflight.org
On 2010-02-18, at 12:11 PM, Matt Friedman wrote:
I'm sure there's a simple answer for this but it just isn't working for me. I've seen lots of posts that say you can just create your own node-[typename].tpl.php file alongside node.tpl.php and the system should pick up your custom node theme instead of the default one. I've done this, and it just won't pick up the custom one for me.
I have Themer info display module installed. I'm using the garland theme. In the garland theme directory I have copied node.tpl.php to node.podcast.tpl.php. When I view the page the Themer display tells me that it finds node.podcast.tpl.php as a 'candidate' file, but it continues to use node.tpl.php as the template.
I've tried rebuilding the template registry and devel/rebuild cache. Doesn't seem to help.
How do I get drupal to use my custom template? The podcast type is a cck type.
Thanks, Matt -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]