I am confused on how to use this module. TVI is a little buggy, so I gave this module a shot.

I have two vocabularies that I want to be displayed using two simple views.

Do I need to set the paths on the views to override /taxonomy/term/% ? Do they have to be block views? Does the view know based on alias (pathautoed vocab and taxonomy path) how to react?

What I am experiencing is only one of the vocabulary's are displaying correctly. The other shows "Page Not Found" - because it is not passing the validators on the other view. So what is happening is View A and View B are set to Vocab A and Vocab B. The views are setup just like the default Taxonomy view (only different field classes and fields). Vocab A shows View A just fine. Going to Vocab B tries to show View A (even though it is NOT configured that way) and get a Page Not found.

Am I using this module correctly?

Comments

codycraven’s picture

Status: Active » Fixed

Kevin,

Using any module (Panels, Views, etc) that overrides taxonomy/term/% will cause this module to not function. So if you have a Views page set to that path disable the View or change the path to prevent overwriting. You may have to flush your caches at this point (available at /admin/config/development/performance )

Then follow these steps:

  1. Go to your taxonomy admin page: /admin/structure/taxonomy
  2. Click edit vocabulary for the vocabulary you would like to change the presentation of
  3. Click the manage display tab
  4. In the custom display settings vertical menu you will see a checkbox for using custom display settings for taxonomy term page, check it and save.
  5. You will now have a link next to the default view mode that says taxonomy term page, click it
  6. In the term page display vertical menu you will have a form to configure how you would like your vocabulary to display

Marking as fixed, feel free to re-open if you need more clarification or encounter issues.

kevinquillen’s picture

So what you are saying is, you cannot use this with a Page view that uses a path, because aliased terms still point to a system path of /taxonomy/term/%tid (this is how TVI works and is why I got confused).

Okay, next question.

My view has tid argument like the default taxonomy term view. I have it set to override the title to be (term %1) Listings, thogh Listings never appears. Thoughts?

kevinquillen’s picture

Now I have View B and Vocab B working fine, Vocab A just shows a blank page with a Views pager, and no content, despite being identical to the other view...

codycraven’s picture

Note, This response was written to #2, Kevin's #3 was posted whilst I was writing this response:

You can use this with Views pages, just not Views pages with that specific path.

As far as your next question, the tid argument will be passed to the View's display that you select from Taxonomy Display as it's first and only argument. I just setup an instance using the standard Views term page (I set the page's path to /taxonomy/term/not-used to not conflict).

I then went to the taxonomy display configuration page and did the following:

  1. Set Associated content display to Views
  2. Set View to Taxonomy term
  3. Set View's display to Page
  4. Saved

I then went to one of my terms in the vocabulary that had associated content and the View's display was being used (it even provided it's own RSS feed since it is attached in the View).

If you are doing this same thing, which I think you are, and you are not getting any results on the term page then go to your View's edit form under the display you selected for presentation and in the Auto preview box enter the tid of the term you are testing on. If you do not get any results then your issue is either with your Views configuration or the term not having any content associated with it.

If your view does return results and your taxonomy page is still failing to display results please let me know additional details.

Also as a note, the title you select in the View will not appear on the taxonomy term page as that is generated from the term in the Drupal core manner, not from Views. I can see some benefit in adding the ability to override the title's display and will look at adding that in the future, if you would like you can create a feature request for that.

kevinquillen’s picture

Found the issue. My one view uses a Image field as one of the display fields. The one that is working is not using a Image.

When I removed the Image field from the display, the view worked. However I need this to be in the display.

I tested this by creating a completely new view. It worked, up until I added the photo.

Note: simply excluding the field had no effect. I had to remove it from the view entirely.

codycraven’s picture

Kevin this is sounding like a bug in Views or a problem in your View's configuration. Try to use the preview box in your View's edit page, if it doesn't work there it's unrelated to Taxonomy Display.

kevinquillen’s picture

Doesn't appear in the preview with a Image field either. What could be the issue?

kevinquillen’s picture

Got it.... if you don't check 'Multiple Values : Display items in single row' in views the view content won't render at all... no error or warning. Never encountered that before.

codycraven’s picture

Kevin that is definitely an issue with Views, whether it is a bug or something else going on I couldn't tell you. I would recommend looking in to reporting a bug ticket for that, it may already have one even.

Good luck

Status: Fixed » Closed (fixed)

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

wooody’s picture

Thank you.