Hi

I have created a view that takes on argument, a taxonomy term, then created a panel + handler that takes one argument (%term). Then I added the view in the panel handler's content and set the context in the view pane's settings to Taxonomy term. The view doesn't show correctly.
It works when I set the Taxonomy term in the views pane's settings to No context and just pass %1 as argument.

Comments

summit’s picture

Subscribing, greetings, Martijn

guillaumeduveau’s picture

I have the same problem, but thanks Miiimooo for the workaround :)

Here's the simplest way to make a panel page taking a TID argument :

- Create a panel page @ panelpageterm/%
- Do not care about the context
- Add a view pane of a view that takes a TID argument and in the pop-up setting, just write %1 in Arguments

Since 6.x-2 will not go out of alpha, I'm closing #316253: Broken arguments : Taxonomy term, Vocabulary ID, Node add form and Node edit because the arguments are not broken any more in 6.x-3.0-alpha2.

guillaumeduveau’s picture

Status: Active » Postponed (maintainer needs more info)

Well in fact I just managed to add the context to a view pane, so Miiimooo and Summit, could you detail your steps in order to try to reproduce the bug ?

- I created a page at the url paneltermtest/%term
- for the context I click change and put Term identifier
- in the panel content I added a view pane and selected "Term identifier" in context
- that's all and it works...

miiimooo’s picture

I confirm that it also works for me when I follow those steps. The only difference to the one I reported - as far as I can see - is that mine used the term name and not the term id.

summit’s picture

Hi,Working for me also, thank you!
Greetings, Martijn

Shademan’s picture

sorry to put this here, but i cant seem to get a panel running with an url argument.

miiimooo wrote, he "created a panel + handler that takes one argument (%term)".

i want to have an url like "http://drupal/region/25" where 25 would be my argument which would then be passed on to a view.
how do i tell the panel that there is an argument? i tried the url "region/%id" but that did not work.
i think i missed something important ;)

would be cool if someone could help me, thanks!

merlinofchaos’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ok, one important thing -- and I need to fix the way this works so it's more understandable -- is that a taxonomy term context will always pass the TID of the term, even if it came in as a TERM name. That might be the problem you were having.

Shademan: That's a missing feature, in that there isn't a simple string context that can be used for arguments that just get passed through to Views. It probably should be a different issue (as a feature request) from this.

Status: Fixed » Closed (fixed)

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