Hi,
Spent ages trying to figure out how to do something supposedly as simple as changing the label of an existing exposed form name from my module.
For filter called 'names', in
MYMODULE_views_pre_render()
I set the label this way:
$view->display['page_1']->display_options['filters']['names']['expose']['label'] = 'NEWNAME';
When I check it with
drupal_set_message(print_r($view));
it is properly set.
But it does not appear on the page. Caches emptied etc. What am I missing?
I'd really like to learn how to do this using Views2 API rather than via a theme function.
I'll be so thankful for any clues..
vacilando