Aside from not including "node" in the paths, how is Type-local nids different from the Get Content Type module? I'm curious why Type-local nids duplicates that module's functionality, but maybe I'm missing something.

Comments

zilla’s picture

ditto. seems very similar but without 'node' ?

jbrown’s picture

There is zero duplicated functionality between Nancy's module and mine. They solve two completely different problems.

Get Content Type adds pages that list all nodes of a certain type - a bit like a very simplified version of Views.

I have updated the project description. Is it still as clear as mud?

zilla’s picture

Title: comparison to Get Node Type » The project description confuses people
Component: Code » Documentation
Assigned: Unassigned » jbrown
Category: support » bug

actually, i looked at it again and it does make sense - i think that actually saying something like what you said above, a 'simplifed view without using views' may help people

for example, people may be happy with pathauto but want the ability to serialize one specific content type versus aliasing the title (e.g. think flickr clones)...this is the way to do it, with this module...

jbrown’s picture

My 'simplified version of Views' comparison was referring to Get Content Type. I amended my previous comment to make that clearer.

christefano’s picture

Thanks for updating the description. It's much more clear now, though I'd word the description slightly differently to make it easier for relatively new admins.

This module maintains an additional serial number the lnid (short for type-local nid) in addition to the node ID (nid). A node's lnid is completely auxiliary to it's nid. The lnid is unqiue only the node's content type, whereas a nid are unique for all nodes. The lnid is exposed via the Token module.

When used in conjunction with the Pathauto module, Type-local nids 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

This functionality should be in core.

jbrown’s picture

Status: Active » Fixed

Okay - I've updated it again based in your text.

christefano’s picture

Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.