Can someone shoot me the settings needed to produce the panels_by_term view?

I have tried a bunch of settings but I can not get the view to work. The standard view has page not found in the first argument and when I switch it I get "for each" error.

Thanks!

Comments

nathanraft’s picture

Status: Active » Fixed
merlinofchaos’s picture

Could you share your fix? It might be useful to someone else one day.

nathanraft’s picture

Status: Fixed » Postponed (maintainer needs more info)

The issue was that I had taxonomy context turned on and simply needed to change the url to taxonomy/vocabulary for it to work. So it works now. yet... (I changed this to active so people can see this approach)

Yet, when I started using it I realized that while the vocab view worked nicely, when I clicked on a term it displayed the nodes associated with the tid as a teaser list. Not at all what I wanted. So while the nice 3 panel vocab display is really great, the view is hard coded to use teaser for the second $arg.

To be able to use the nice vocab view and then choose the tid view you want you need to code up a new view in the views donus module using the template for the panels_by_term.

What I ended up doing was to change the url in the panels_by_term code to not include the tid. Then I made the view I wanted with the url taxonomy/term and replaced the view_view_teaser with my new view name. I actually used a grid view as my subterm view allowing for a table of nodes. Yet you can use anything you want.

Now I get the nice vocab view and when I click on a term it shows the second view that I created. I have this combined with taxonomy context thus vocab view replaces the generic list of primary tid's (nice) and the subterm page shows the term context menu, the sub categories, and my custom view below. Actually works quite nicely and makes browsing by term very nice.

This may be somewhat of a hack but it is the best combonation that I have seen yet.

If anyone wants more info on this please let me know by emailing me.

dmitrig01’s picture

Status: Postponed (maintainer needs more info) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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