[support] Making drupal use custom template for cck node

Dick Middleton dick at fouter.net
Thu Feb 18 17:17:13 UTC 2010


On 02/18/10 17:11, 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.

I think you have to visit the admin/build/modules page so it rescans the
directories.  I'm sure I read that somewhere.

Dick

-- 
Dick Middleton
dick at fouter.net
PGP Key ID: 0x9F9434FD


More information about the support mailing list