Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I need to create a blank HTML 5 page for html5 video from my XHTML Omega sub-theme.
I added to theme_preprocess_html() & theme_preprocess_page() functions theme_hook_suggestions to use a special blank html.tpl.php & page.tpl.php template files to load when the special content-type node is loaded / viewed. So my HTML5 video page (special content type) can appear on a new pop up window.
The above solution work great using theme Bartik, but not if using sub-theme of Omega.
How can I override, so that Omega allow me to use my very own html.tpl.php & page.tpl.php ?
Comments
Comment #1
Cellar Door CreditAttribution: Cellar Door commentedYou'll want to use the theme_alpha_preprocess_page hook instead and theme_alpha_preprocess_page as well. Try these and see if it works - please re-open if it does not.