How to display the arguments of the filter in header

Clément - October 16, 2009 - 19:19
Project:Views
Version:6.x-2.6
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I see the arguments of the filter in the header without using the $ _GET [''] because I would later use this view with Ajax.

(For example, I have not enabled Ajax to its more straightforward. Accuracy: I use a page view and not a block)

My url gives example when using the filter: modeles-marques?tid_0=35&tid_1=All

In the header part, this is what gives me my arguments:
arg (0) == 'models-brand'
arg (1) == NULL
arg (2) == NULL

I wish I could get "35" to 1 and the argument "ALL" for the argument 2. Have an idea for you to get them back?

Thank you for your invaluable help!

#1

Clément - October 22, 2009 - 05:51

No idea for this problem?

#2

merlinofchaos - November 9, 2009 - 20:32
Category:task» support request
Status:active» fixed

Use $view = views_get_current_view() and look at $view->args

#3

Clément - November 11, 2009 - 21:38

Thank you for your reply, I'll try to watch as you tell me.

#4

System Message - November 25, 2009 - 21:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.