i'have udated my website with the version 6.x-2.14 of views and now an option have disapeared.

in my view " my topics menu" > "Arguments" > "taxonomy: id of term" > "Action to do if argument is not present " > "give defaut argument"

the option "Taxonomy Term ID from URL" is not available anymore.

Why?

I suppose it s not a bug? but how now i can use that type of arguments now?

PS: sorry for my poor english

Thank you

Comments

hizard’s picture

Title: Taxonomy Term ID from URL nor available anymore with version 6.x-2.14 » Taxonomy Term ID from URL option in argument not available anymore with version 6.x-2.14
tom.camp’s picture

Yeah, I noticed the same thing. I can fix it by changing the Action to take to PHP code and using return arg( 2 );. This makes the view work correctly, but it isn't exactly ideal.

tom.camp’s picture

It also appears that the Hide if empty checkbox is no longer working.

dawehner’s picture

So about the empty checkbox, there is another issue for this, which said that this is commited now in 6.x-2.x

So about the taxonomy term id from url, this didn't worked before, so we removed it until we have time to fix it.
Sadly i can't find the other issue which has as far as i remember a patch to add it back, but working.

hizard’s picture

Thank you all for yours comment. Actualy i solved the problem by moving to views-6.x-3.0-rc2.

I had to fix some views tought because the "use pagination" have changed. but it s only a mather of a few click.

@ Tom.Camp
can you please give me the exact PHP code of "return arg( 2 )" that i have to past in my view " my topics menu" > "Arguments" > "taxonomy: id of term" > "Action to do if argument is not present " > "PHP code"

@dereine
i've noticed that the "taxonomy term id from url" does'nt work in the view preveiw but it works in the website.

avantwaves’s picture

Yes the "taxonomy term id from url" was working for me just fine in the website. Actually I have a view that depends entirely of this feature.

@ Tom.Camp if you can post the php snippet would be awesome.

Ok, the php is only
return arg(2);
That is working for me :)

dawehner’s picture

Status: Active » Closed (duplicate)