Is there a way to override/disable the function om_process_html in the template.php base theme
Without changing the base theme?

Comments

danielhonrade’s picture

for 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?

DigiScape’s picture

I 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.

danielhonrade’s picture

Yeah, 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

DigiScape’s picture

meta is added to $vars['head']
I dont want remove all $vars['head'] values

danielhonrade’s picture

Status: Active » Closed (fixed)

fixed on version 2.8, this can be configured on theme.info