Basically, I'm trying to make a list content type using the CCK module. Essentially, I want it to be of whatever size needed (Unlimited number of values for the field within the list type).
Problem is, I want each of these items numbered.
Right now, It displays:
1: item 1
item 2
item 3
...
And the "1" is currently the name of the field itself.
you can definitely theme it to be an Ordered List. I haven't thought enough about it yet to tell you a definitive way, but if that sounds enticing to you and you want to hear more, I will supply more details.
(I'm super happy to be able to actually help someone on these forums!)
You can use the content templates module, but depending on how you want these to display, it may even be easier: are you using views?
Can you post a link to the output and some more details about how you are trying to do this?
It sounds like you have a content type, and you enter in an item, and it displays somewhere on the site, I'd assume with Views. If that is the case, you go to views, and you click on "style" and choose HTML list. Then you choose ordered list. Super simple, that way!
I actually jjust installed content templates, but it doesn't look like it will do what I want. It'll let me change Body/Teaser/RSS, but not text fields.
Right now, I'm not doing anything with views yet. Eventually I will, but I just want my list working first. But, I'll try playing with views later, but I have nothing set up for it currently.
so this is one piece of content (one node) with tons of text fields? If you went with views and made it separate nodes for each one, you'd be able to make it a list very easily through that: the way you are doing it, maybe this module can help:
That may be doable, but I'm not sure yet. Right now I'm just getting the basics working, but eventually I want my list to be dynamic, in that each item of the list can be upvoted/downvoted. Not sure if that would be easier or harder as multiple nodes.
WAY easier. I don't think it's even possible the way you are trying it, honestly. If you use the vote api + views + cck you can definitely do it, and you don't even need extra modules/themeing. I'd go with the views implementation now: I can even give you a file you can import into views that will automatically list an unlimited number of items in an ordered list, if you like.
Posts
you can definitely theme it to be an Ordered List. I haven't thought enough about it yet to tell you a definitive way, but if that sounds enticing to you and you want to hear more, I will supply more details.
(I'm super happy to be able to actually help someone on these forums!)
See how many books I've read so far in 2010
Can you post a link to the output and some more details about how you are trying to do this?
It sounds like you have a content type, and you enter in an item, and it displays somewhere on the site, I'd assume with Views. If that is the case, you go to views, and you click on "style" and choose HTML list. Then you choose ordered list. Super simple, that way!
Right now, I'm not doing anything with views yet. Eventually I will, but I just want my list working first. But, I'll try playing with views later, but I have nothing set up for it currently.
See how many books I've read so far in 2010
http://drupal.org/project/custom_formatters
I think this will let you do it without mucking about in templates and overrides, which is messy.
See how many books I've read so far in 2010
See how many books I've read so far in 2010
See how many books I've read so far in 2010