1 reply [Last post]
TimK's picture
Offline
Joined: 08/18/2007
Juice: 147
Was this information Helpful?

Here is what I am trying to do:

The default taxonomy/term view is set to a grid display. This works nicely for most cases on the site.

I am using views_bonus for the grid display.

I use path_auto to set category urls to: [vocab-raw]/[catpath-raw]

In order to display products I would use a url like: www.mysite/brands/tonka. Brands is vocab, Tonka is term name.

However, we also have a blog, that has multiple categories.

I wish to set up a view where I can display my blog as a list of teasers, not as a grid.

blog url= www.mysite/blog

Blog taxonomy 1= blog/celebrity

blog= vocabulary name
celebrity= taxonomy term

I want is use the url http://mysite/blog/celebrity

And I want it to display a teaser list of nodes that are tagged with ‘celebrity.’

But, what happens when I use that url is that my blog is displayed as a grid, which is the default taxonomy/term view.

How can I get the blog to display correctly?

Also, when I click on the tags that appear on individual blog node pages, I need them to display in the ‘blog’ view that I have set up, not the taxonomy/term view.

I have tried setting up a view with the url ‘blog’. It is basically a copy of the default taxonomy/term view, but with a different url.

Then I would use a url like: www.mysite/blog/170/celebrity.

This allows the blog page to display correctly.

But I am also using the metatag module, and page descriptions and metatags do not show up when calling views using taxonomy term id. Also, the urls are not search friendly.

Any ideas?

Website: http://kissandmakeuptore.com

Thanks.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Views Module and Multiple Product Categories/Vocabularies

How did Drupal's taxonomy term page get a grid style for the list of nodes? I think the first step is figuring out how that works and then disabling it for the blog vocabulary. You might also want to look at the list of path aliases (at admin/build/path) and see that the blog/[term] paths are set to the right page. I can't imagine that the catalog page would accept terms from another vocabulary, but that be what's happening.