I followed the handbook instructions at http://drupal.org/node/42603 using the theme wizard's plain list view, then I realized there was a grouped list view included with theme wizard. I gave a taxonomy term field to group on and copied the php files as usual, but it is still listing a taxonomy term for each node instead of once per group. I noticed that someone else had success here: http://drupal.org/node/165417. Am I doing something wrong?
Comments
Comment #1
Jackmc-1 commentedI'm also interested in how to do this...
Comment #2
xjmI think there's a bug in the theme wizard's code that makes it so the grouped list doesn't actually successfully fetch the taxonomy terms before it tries to make the grouped list. It can be corrected with a minor change in the generated function.
Tracking any duplicate issues I can find to try to locate any existing patch to the theming wizard.
Comment #3
sunSorry, unfortunately this support request is way too specific. Please have a look at the issue queue - Views maintainers are buried already. You might want to try to get further support at http://drupal.org/support. Additionally, the answer to your question might be covered in the handbooks at http://drupal.org/handbook/modules/views already.
If you were able to solve this issue on your own in the meantime, you might want to add the involved steps to this closed issue, so other users searching for a similar solution might find it.
Comment #4
bradweikel commentedHere's a workaround that worked for me:
In the code created by the theme wizard, look for a snippet like this:
and replace it with this:
Once you've got the grouping working, you can remove the per-node taxonomy either in the .tpl.php file, or by deleting it from the fields list in the View itself.