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.
Is there a way to override/disable the function om_process_html in the template.php base theme
Without changing the base theme?
Comments
Comment #1
danielhonrade CreditAttribution: danielhonrade commentedfor now you can do function yourtheme_process_html() {} on you own template.php,
and I think the browser will follow the last meta you've added.
I am thinking of adding settings to .info file to change these meta, I'll do that on the next version.
Btw, can I know what do you want to override?
Comment #2
DigiScape CreditAttribution: DigiScape commentedI had tried yourtheme_process_html()
But the original function is also processed
I would like to have control over the meta tags added, this could probably go in the html.tpl.php
I don't use a 960 grid system, although it mentions this is optional, I cant see a way to disable it.
Comment #3
danielhonrade CreditAttribution: danielhonrade commentedYeah, that's right, I think if you're meta is below it - it will already act as an override, I'll improve that in next version and put the settings in the info file, the grid should not hurdle you from anything, it won't interfere with your css, it will serve just a guide, well I'll find a way to turn that off also in the next version
Comment #4
DigiScape CreditAttribution: DigiScape commentedmeta is added to $vars['head']
I dont want remove all $vars['head'] values
Comment #5
danielhonrade CreditAttribution: danielhonrade commentedfixed on version 2.8, this can be configured on theme.info