this is output by: function theme_views_summary($view, $type, $level, $nodes, $args)
You can override this function in your theme: function phptemplate_views_summary($view, $type, $level, $nodes, $args)
and even do this for a particular view function phptemplate_views_summary_myViewName($view, $type, $level, $nodes, $args)
Start by copying the code for this function from views.module into your template.php - then make the obvious change to remove the num_nodes for the term.
Comments
..\/..
it is always helpful to provide some information about your view settings - pretty hard to diagnose and debug without any details!
That said, I'm guessing you are using a Taxonomy term filter or argument? If so, try adding a Node: Distinct filter.
nevermind just changed the
nevermind just changed the "arguments" and added a option of 0, sorry for the repeat post
how do i stop my views from
how do i stop my views from displaying the number of terms next to the term name? example:
apple (5)
grape (10)
i want:
apple
grape
..\/..
this is output by:
function theme_views_summary($view, $type, $level, $nodes, $args)You can override this function in your theme:
function phptemplate_views_summary($view, $type, $level, $nodes, $args)and even do this for a particular view
function phptemplate_views_summary_myViewName($view, $type, $level, $nodes, $args)Start by copying the code for this function from views.module into your template.php - then make the obvious change to remove the num_nodes for the term.