Sequential number for entries

Re: Sequential number for entries

by JF Dragon -
Number of replies: 1

Thanks Marie for your answer...

The problem I see with the JS you found is that this code will work OK for the entries on one page, but the sequential number will not be link to the entry itself and on the next page the numbers will restart at «1».

But your idea to take the ##timeadded## field as unique ref could be the solution. If it could be possible to convert the entry date in sequential number with JS, then we should have our solution. But after saying that, I don't know how to do that. smile

Have a nice day...

JF

In reply to JF Dragon

Re: Sequential number for entries

by Steve Ambro v3.8 -

I don't know enough about Moodle database yet and I do not see this mentioned here but on every database system that I have programmed, it had an "autonum" attribute that was selected for a field.  Is this not found in Moodle Database?

In business, autonum is used for employee#, customer#, Invoice#.

Just a thought....