Omega theme has a singular way to add preprocess functions.
I need to add this preprocess function to be executed when a view is rendered:
function MyTheme_alpha_preprocess_views_view_fields(&$vars) {
...
}
This is what I've done (is not working, the dpm function doesn't print the message, no error is shown)
1) In sites/all/themes/MyTheme/preprocess/
created the file preprocess-views-view-fields.inc
2) In preprocess-views-view-fields.inc
I added the function:
function MyTheme_alpha_preprocess_views_view_fields(&$vars) {
dpm('hello');
}
What am I missing?