Home ›
How to reset the theme registryHow to reset the theme registry
Searched words:
php function to reset drupal theme registry
empty theme cache and rebuild it
drupal_rebuild_theme_registry
edit and refresh themes caching data
The Drupal function to reset the theme registry is drupal_rebuild_theme_registry (D6).
You can add it to your template.php while developing:
<?php
drupal_rebuild_theme_registry();
?>Adding it to template.php works, of course, even if where you're altering the theme registry (and need to see it reset) is from work you're doing on a module.
Remember to take it out again!
Installing devel module and using its reset cache function is probably easier and definitely better practice.
Comments
Post new comment