Type-local nids

Categories

Component ID

237659

Component name

Type-local nids

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

5871

Component created

Component changed

Component body

Use Serial Field instead of this module.

This module maintains an additional serial number (the lnid - short for type-local nid) for each node on your site, as an auxiliary to the node ID (nid). lnids are unqiue only for the node's content type, whereas nids are unqiue for all nodes.

lnids are exposed via the Token module. When used in conjunction with the Pathauto module, this enables you to have node paths where each node type has its own serial number-space (as opposed to all nodes sharing the global nid serial number-space).

For example:

video/23
issue/78
podcast/33