By avior on
Hi All
I want to set up a views view with a calendar module
there must be three arguments year/month/day
i want to add term id argument but i want it to be the first one, is that possible ?
i have managed to set it as the fourth arguments and it worked fine, but when i have moved it as the first argument this does not work, any ideas ?
Avior
Comments
What are the results you DO
What are the results you DO get?
How do you define the argument's default behavior?
======================
Z.Stolar
linnovate.net - community content infrastructures
======================
Z.Stolar
iStolar Consulting
linnovate.net - Open Source Solutions
iStolar illustration
empty or warning messages
i want to be able to use the url without the parameters for the current month
i have set (also) the term id argument to "show all values"
so if the view url is "events"
if i use example.com/events - i get an all the values but i get warning messages
if i send "all"
example.com/events/all or example.com/events/TERMID
I get an empty content
if i use the full url with a term id it works
example.com/events/12/2007/08/all
any ideas ?
Dev Art- Drupal Based Services and development
In addition to the default
In addition to the default value, there is also the wildcard variable.
You should put your tid as first argument, and give it a wildcard of "all".
Does it work?
======================
Z.Stolar
iStolar Consulting
linnovate.net - Open Source Solutions
iStolar illustration
Nop
I have tried to do this before - i get the warning messages as above (and then i don't have the prev / next months)
I have also tried to setup a code in the arguments -
then i got an empty content
Dev Art- Drupal Based Services and development
Seems also that if you put
Seems also that if you put your 4th argument at the end of Arguments, in Day-view Prev and next get wrongs links..
i setup my view ("lessons") that way
Arg1: year
Arg2: month
Arg3: day
Arg4: OG-gid
If I write "?q=lessons/2007/09/03/MYGID" I get all events for that day, in that course, but Prev and Next points to wong path : Next points to "?q=lessons/MYGID/2007/09/04"..
Is there a wrong link creation?
-thePanz-
-thePanz-
Same results here
Same results here.. maybe it's a module's bug?
Seem that there is something wrong with arguments handling..
hope to hear good news for solutions...
-thePanz-
-thePanz-
I have the exact same
I have the exact same problem. Any Ideas?
What I did
Hi
I couldn't find solution for this , i worked around it ...
I added a filter to the view with termid and set it to my default value
and every time i need the view i added a node with php code to take the view , set the filter to a new value and print the view , here is the code sample :
I am using drupal 5.2, views 5.x-1.6
hope this helps
Dev Art- Drupal Based Services and development
Fixed in dev version
This was something that used to work and got broken as the Calendar acquired more features. I just committed a fix to the dev version of the module that should make it possible to use a non-calendar argument in front of calendar arguments, which will let you dynamically filter the calendar by whatever that argument is.