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 |
Jump to:
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
No idea for this problem?
#2
Use $view = views_get_current_view() and look at $view->args
#3
Thank you for your reply, I'll try to watch as you tell me.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.