I have found the Vikas and he is amazing developer, he had always delivered the product under the timeline, on budget and with 100% accuracy, He is totally problem solving guys.
How To taxonomy term count using views ?
0 comments |
Today i am writing blog over, how to count a taxonomy term through views in drupal 7 with easy steps.
Step 1:
Download Views
Download ctools
Enable both modules.
Step 2:
Create Taxonomy Term and add the term.
Create Content type with this taxonomy, which you have created.
Post some content through this content type.
Step 3:
Create a new View.
Give the title of view.
Select Taxonomy Terms from Show.
Check the box of Create a page or Create a blog.
Click on Save & continue button.
Step 4:
Click on Advanced link
Find Use aggregation make it Yes from no.
Now click on Aggregration Setting from Field.
Select Group results together from Aggregation Type
Add a field Taxonomy term: Name again.
Select Count from Aggregation Type
Uncheck box of Create a label .
You can giv prefix and suffix to show something like this Test(5)
Step 5:
Click on Add button of Relationships from Advance
Select Taxonomy term: Content with term
Click on Add and configure relationship button.
Check the box of Require this relationship .
Click on Apply (all display) button.
Add new comment