By stephtek on
I am using Views 2 and CCK and I want to create a custom template for a blog I created. When I create the template using content templates and save it it seems like it is being ignored. Has anyone had this problem before?
I am using Views 2 and CCK and I want to create a custom template for a blog I created. When I create the template using content templates and save it it seems like it is being ignored. Has anyone had this problem before?
Comments
Did you rebuild the theme
Did you rebuild the theme registry?
How do I do that? is there
How do I do that? is there some Views themeing documentation I am missing?
I'm actually not sure where
I'm actually not sure where I picked this up, but as a general theming hint, often you don't see changes because the theme stuff gets cached, etc. So you can add
drupal_rebuild_theme_registry();to your template.php file and you'll almost always then see theming changes right away. You'll want to only use this for testing and theming--not on a production site.Might not be your problem at all, but just in case it is it's a simple fix! HTH!
Manually clearing the theme registry
Another solution would be to clear the theme registry every time you add or remove template files to your theme folder. Go to Site building / Themes and click on Save configuration without making any modifications. This will clear the theme registry, and your changes should appear.
___________________
Preston So
Creative Director
Monarch Digital, Colorado Springs
My near-dead non-Drupal site
___________________
Preston So
I realize this is old, but
I realize this is old, but just wanted to say: Yes, there is now a handbook page on theming views 2!