Hello, I'm using Drupal 6 and latest Views module. I try to get a Blog style taxonomy listing with content count. In Views I somehow can't get it done. The summery view wich is capable of node count doesn't link to the appropriate taxonomy. I there another way or is views capable? thx!

Comments

rkdeveloper’s picture

my advise is to search the forum for the similar posts before creating new post.

fallow the link http://drupal.org/node/195034 it will help you to resolve your problem.

make it simple will make your life easy........
Ram

nchase’s picture

*lol* searching the form. Do you know how many results I'll get. :) The snipet you linked to doesn't do the entire trick. Thanks anyway...

cratos’s picture

I´m also searching for something like this. I don't think that this is possible through at least not for anytime soon.

I've found a code in http://drupal.org/node/199374, that enables the listing of terms under a vocabulary, with node count per term.

But what i wanted is some solution that enables me to combine the listing of terms whith node count and customized VIEWS. So when the user clicks the term, the results will be displayed by the customized views...

Is something like this that u wanted???

Can someone help me to...

Thanks

khan2ims’s picture

Hi,

What I did is I created a view, View Type:List View, Provide Block, Fields - Taxonomy: Term with Link.

Then under Arguments, Taxonomy: Term ID -> Default: Summar, sorted.

Under Argument Handling Code, enter this :
$view->url = 'taxonomy/term';

Filters: Taxonomy: Term is one of (select all the list of taxanomies)

Then click on submit. Enable the block, and it the region where you want it to show.

Then you should see list of all the taxanomies along with links on them and in fron t of them node counts..

Hope this is what you needed !!

Imran Khan
Project Manager
New Earth Marketing

Anonymous’s picture

Glad I found this cause it is ALMOST what I want. For me this view currently lists all terms and their count
eg

  • spaniel dog (3)
  • lab dog (2)
  • persian cat (2)
  • black cat (3)

BUT - I want the block, containing the view, to show ONLY those items erlated to the node (blog) the block is sitting in.
So on a blog about dogs with tags spaniel, lab I want the block

  • spaniel dog (3)
  • lab dog (2)

and on a page about cats I want

  • persian cat (2)
  • black cat (3)

I added a filter by blog, but it comes up

  • spaniel dog (1)
  • lab dog (1)

counting only the tags count of the one node - not all nodes...

Thanks for getting me started but now I am stumped on how to proceed.

owenkie’s picture

Hello Sir,

Where can I find or put this?
$view->url = 'taxonomy/term';
please

Thank you.