Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.0-alpha3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2010 at 14:55 UTC
Updated:
9 Dec 2010 at 14:50 UTC
Hi
i d need some pointers to create a php snippet to do the following:
in an argument set to taxonomy, when argument is not present then if URL == myURL1/* then pass term1 ; if URL == myURL2/* then pass term2
any help is welcome..
tx
Simone
Comments
Comment #1
cimo commentedThis is what I came up with in the drupal-support chat
but it doesn t seem to work, any problem related to the fact that I am creating a block?
Comment #2
Letharion commentedWhat you do there is passing back the first argument in the url unaltered.
The way I read your question, you need to
1) get the second last arg
2) map the arg to whichever term is relevant