Thank's! I'm goin to try it. But can I use this function on menu edit?
Thank's
-----Mensaje original----- De: support-bounces@drupal.org [mailto:support-bounces@drupal.org] En nombre de Larry Garfield Enviado el: divendres, 30 / maig / 2008 06:24 Para: support@drupal.org Asunto: Re: [support] Menu link to views with filter problems
It sounds like you're adding the link manually. Remember that when creating a link, *always* use l() or url() (depending if you want the link active or not). If you write an <a> tag yourself, you're doing it wrong.
l() takes the path, query, and fragment as three separate parameters in order to build the URL properly with aliasing and proper escaping. I suspect you're passing in l('my title', 'productes/?filter0=2'), which is wrong as Drupal will interpret that whole thing as just the path. See:
http://api.drupal.org/api/function/l/5 http://api.drupal.org/api/function/l/6
for the right syntax. (The signature changed in Drupal 6, so use the correct version for your site.)
On Thursday 29 May 2008, marolijo - Pol Maresma wrote:
Hello I'm usin an argument to taxonomy filter the content of a view, (for example http://gne.polnetwork.biz/productes/2 )
But now I need to add a select list exposed filter, and need to create menu entries for specific filter settings ( http://gne.polnetwork.biz/productes/?filter0=2 for example)
To put productes/2 on menu link works well, but if I put productes/?filter0=2 the system puts this on the browser url productes/%3Ffilter0%3D2
How can I arrange this?
Thank's for all!
Pol Maresma msn: marolijo