Closed (fixed)
Project:
Views (for Drupal 7)
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
10 Mar 2008 at 14:15 UTC
Updated:
16 Nov 2015 at 03:16 UTC
Jump to comment: Most recent
Comments
Comment #1
catchIf you have a voting module installed, then it might provide a 'number of votes' field - in which case you can add this to a list or table view and it'll show up.
If there's no "number of votes" field, then you'll have to file a feature request against that module (not views - the fields are provided by modules). I'm marking this as fixed, but reopen if it doesn't help.
Comment #2
Anonymous (not verified) commentedWhat I meant was the position in the list.
Like
1. Shoes
2. Chairs
3. Tables.
How do I make it show the actual position on the list so that it can say number 1 is shoes and have (1) before shoes?
Comment #3
catchOh I see...
I haven't done it, but you ought to be able to use the views theme wizard on a list view, then change the output to
olinstead oful.Comment #4
Anonymous (not verified) commentedHi,
Will try it and let you know.
Thanks
Comment #5
Anonymous (not verified) commentedHi,
I am using a very simple data list. When I go through the wizard, I don't even have the output section that would read ol. I get the code but no option to do that.
Any other ideas?
Thanks.
Kahenya
Comment #6
merlinofchaos commentedThere should be a line in the template like theme('item_list', $rows);
If you look up theme_item_list on http://api.drupal.org you'll see that one of the parameters can be 'ol'. I think it's the 3rd there, but I'm not 100% sure. That'll get you an ordered list.
(Views 2 will be able to do this via setting)
Comment #7
Anonymous (not verified) commentedSorry, was in Ethiopia, so haven't had much time to work. Anyway, I fixed the ul ol thing and it works a bit too well. Question, how do I limit it only to certain lists? Evey list in my install including a menu is now numbered. Is there a way to limit this or do we have to wait for a new release of views?
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.