Hi all. I have defined a view with /admin/build/views. Now I want to get this view add one filter (cck input field) and display the new results. I have do this:
$view = views_get_view('lista_articoli'); //var_dump($view);
views_view_add_filter($view,'content_field_visibilita_utente_livello','field_visibilita_utente_livello_value','=',3,''); //var_dump($view); views_sanitize_view($view); return views_build_view('embed',$view,array(),false);
My problem is that the filter is not add to the view. I see always the same result. Where is my error ?
M.