Answer by Saud Alfadhli for Override module's template in theme
Just to mention here that you can even change the template file name also if you implement template_preprocess_page() for your theme.So, you can add a new theme suggestion like this:/** * Implements...
View ArticleAnswer by Mike Vranckx for Override module's template in theme
You can override tpl files defined in modules inside your active theme (under the templates directory). But Drupal will look for a file name using the defined theme key name and not the defined...
View ArticleOverride module's template in theme
Suppose i have this hook_theme() in my module, choosing a template inside the module:/** * Implements hook_theme(). */ function module_theme($existing, $type, $theme, $path) { return...
View Article
More Pages to Explore .....