Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By senzaesclusiva on
I would need to enumerate an "unlimited" field items per node
and restarting from "default value=1" every node.
I tried Serial Field module but it is based on content type nodes.
Scheme would be like Drupal Issues that has its enumerated comments #1, #2, #3, etc per each issue.
Is there a way ?
Comments
_
I don't know exactly the schema of a Drupal comment, but the number does not seem to be an identifier. It looks like it is just for display. If you hover over it, it has another identifier.
Which is why they probably just use a counter in the theme. Or the field delta, which you can find in views.
- Brendan
_
A little more info on field delta:
https://www.ostraining.com/blog/drupal/delta/
- Brendan
..what a fool ...you're right
..what a fool ...you're right, i just needed it as a counter in a page view not in the database
Thanks for saving my headache..