How to modify and existent view ?
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. -- Michel 'ZioBudda' Morelli michel@ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.it MSN: michel@ziobuddalabs.it JABBER: michel@gmail.com
participants (1)
-
Davide Michel 'ZioBudda' Morelli